![]() |
![]() |
Temperature driver configuration struct for Low Power F3 devices. More...
#include <TemperatureLPF3.h>
Data Fields | |
uint8_t | intPriority |
Temperature sensor's interrupt priority. More... | |
Temperature driver configuration struct for Low Power F3 devices.
This struct globally controls configuration settings for the Temperature driver.
The Low Power F3 Temperature driver implementation links against a structure of this type named TemperatureLPF3_config.
This structure must be allocated and configured by the application. If SysConfig is used, this struct will be automatically created when the Temperature module is used in SysConfig.
uint8_t TemperatureLPF3_Config::intPriority |
Temperature sensor's interrupt priority.
The interrupt line is shared between the temperature sensor and the battery voltage monitor on Low Power F3 devices
The Low Power F3 devices use either three or two priority bits, depending on the device. That means ~0 has the same effect as (7 << 5) or (3 << 6), respectively.
Setting the priority to 0 is not supported by this driver.
HWI's with priority 0 ignore the HWI dispatcher to support zero-latency interrupts, thus invalidating the critical sections in this driver.