Data Fields
ADCBufCC26X2_HWAttrs Struct Reference

ADCBufCC26X2 Hardware Attributes. More...

#include <ADCBufCC26X2.h>

Collaboration diagram for ADCBufCC26X2_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...
 
ADCBufCC26X2_AdcChannelLutEntry const * adcChannelLut
 
uint8_t gpTimerUnit
 
bool acquireADCSem
 

Detailed Description

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:

const ADCBufCC26X2_HWAttrs ADCBufCC26X2HWAttrs[] = {
{
.intPriority = ~0,
.swiPriority = 0,
}
};

Field Documentation

§ swiPriority

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.

§ intPriority

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.

§ adcChannelLut

ADCBufCC26X2_AdcChannelLutEntry const* ADCBufCC26X2_HWAttrs::adcChannelLut

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

§ gpTimerUnit

uint8_t ADCBufCC26X2_HWAttrs::gpTimerUnit

GPTimer unit index (0A, 0B, 1A..). Currently only the 0A unit index is supported.

§ acquireADCSem

bool ADCBufCC26X2_HWAttrs::acquireADCSem

Specifies whether the ADC semaphore should be acquired during open()


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