• Ready for review
  • Get_Temperature

    Get_Temperature() returns the temperature at 1/1000 of °C.

    int Get_Temperature( int dev)

    Parameters

    dev
    Specifies which temperature to get.

    Value

    Description

    Value

    Description

    0

    TEMP_CPU: temperature of processor

    1

    TEMP_PMIC: temperature of Power-Management IC

    2

    TEMP_TRIZEPS: board-temperature of Trizeps-modules

    3

    TEMP_BASEBOARD: board-temperature of baseboard

    Return Values

    The function returns the current temperature in 1/1000 of °C.

    If the function fails, the return value is 0x7fffffff.

    Remarks

    Please note that this function is implementation specific and most modules do not support reading the temperature.

    Requirements

    OS Versions: Windows CE 6.3 and later.
    Header: drvlib_app.h.
    Link Library: drvlib_app.lib. Implementation date 11.04.2012

    See Also