ADCBufCC26XX Hardware Attributes. More...
#include <ADCBufCC26XX.h>
Data Fields | |
uint32_t | swiPriority |
ADC SWI priority. The higher the number, the higher the priority. The minimum is 0 and the maximum is 15 by default. The maximum can be reduced to save RAM by adding or modifying Swi.numPriorities in the kernel configuration file. More... | |
uint8_t | intPriority |
ADC peripheral's interrupt priority. More... | |
ADCBufCC26XX_AdcChannelLutEntry const * | adcChannelLut |
ADCBufCC26XX Hardware Attributes.
These fields are used by driverlib APIs and therefore must be populated by driverlib macro definitions. For CC26xxWare these definitions are found in:
A sample structure is shown below:
uint32_t ADCBufCC26XX_HWAttrs::swiPriority |
ADC SWI priority. The higher the number, the higher the priority. The minimum is 0 and the maximum is 15 by default. The maximum can be reduced to save RAM by adding or modifying Swi.numPriorities in the kernel configuration file.
uint8_t ADCBufCC26XX_HWAttrs::intPriority |
ADC peripheral's interrupt priority.
The CC26xx 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 in this driver.
ADCBufCC26XX_AdcChannelLutEntry const* ADCBufCC26XX_HWAttrs::adcChannelLut |
Pointer to a table of ADCBufCC26XX_AdcChannelLutEntry's mapping internal CompBInput to DIO