Data Fields
ADCBufCC26XX_HWAttrs Struct Reference

ADCBufCC26XX Hardware Attributes. More...

#include <ADCBufCC26XX.h>

Collaboration diagram for ADCBufCC26XX_HWAttrs:
Collaboration graph
[legend]

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
 

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

§ swiPriority

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.

§ 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.

§ adcChannelLut

ADCBufCC26XX_AdcChannelLutEntry const* ADCBufCC26XX_HWAttrs::adcChannelLut

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


The documentation for this struct was generated from the following file:
© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale