Temperature driver configuration struct for CC26X2. More...
#include <TemperatureCC26X2.h>
Data Fields | |
uint8_t | intPriority |
Temperature sensor's interrupt priority. More... | |
Temperature driver configuration struct for CC26X2.
This struct globally controls configuration settings for the CC26X2 Temperature driver.
The CC26X2 Temperature driver implementation links against a structure of this type named TemperatureCC26X2_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 TemperatureCC26X2_Config::intPriority |
Temperature sensor's interrupt priority.
The interrupt line is shared between the temperature sensor and the battery voltage monitor on CC26X2
The CC26X2 uses three of the priority bits, meaning ~0 has the same effect as (7 << 5).
(7 << 5) will apply the lowest priority.
(1 << 5) will apply the highest priority.
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.