Sensors
Overview
The Sensors module provides an API to communicate with the ADC. Two values can be obtained by this module :
Temperature value
Battery level
The temperature is given in tenths of degrees Celsius and the battery in percentage.
This module is multi-caller, the ADC is protected by a mutex on the resource and by prevententing lowpower (only WFI) during its processing. Platform specific code can be find in fwk_platform_sensors.c/h.
Constant macro definitions
Name :
#define VALUE_NOT_AVAILABLE_8 0xFFu
#define VALUE_NOT_AVAILABLE_32 0xFFFFFFFFu
Description :
Defines the error value that can be compared to the value obtain on the ADC.