ADCBufCC26X2 Hardware Attributes. More...
#include <ADCBufCC26X2.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... | |
ADCBufCC26X2_AdcChannelLutEntry const * | adcChannelLut |
uint8_t | gpTimerUnit |
bool | acquireADCSem |
ADCBufCC26X2 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 ADCBufCC26X2_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 ADCBufCC26X2_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.
ADCBufCC26X2_AdcChannelLutEntry const* ADCBufCC26X2_HWAttrs::adcChannelLut |
Pointer to a table of ADCBufCC26X2_AdcChannelLutEntry's mapping internal CompBInput to DIO
uint8_t ADCBufCC26X2_HWAttrs::gpTimerUnit |
GPTimer unit index (0A, 0B, 1A..). Currently only the 0A unit index is supported.
bool ADCBufCC26X2_HWAttrs::acquireADCSem |
Specifies whether the ADC semaphore should be acquired during open()