API Documentation  9.14.00
Data Fields
ADCBufCC26XX_HWAttrs Struct Reference

ADCBufCC26XX Hardware Attributes. More...

Data Fields

ADCBufCC26XX_AdcChannelLutEntry const * adcChannelLut
 
uint8_t intPriority
 ADC peripheral's interrupt priority. More...
 
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.
 

Detailed Description

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:

const ADCBufCC26XX_HWAttrs ADCBufCC26XXHWAttrs[] = {
{
.intPriority = ~0,
.swiPriority = 0,
.gpTimerUnit = CC2650_GPTIMER0A,
.gptDMAChannelMask = 1 << UDMA_CHAN_TIMER0_A,
}
};

Field Documentation

§ adcChannelLut

ADCBufCC26XX_AdcChannelLutEntry const* ADCBufCC26XX_HWAttrs::adcChannelLut

Pointer to a table of ADCBufCC26XX_AdcChannelLutEntry's mapping internal CompBInput to DIO

§ intPriority

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.


The documentation for this struct was generated from the following file: