Data Fields
ADCBufLPF3_HWAttrs Struct Reference

ADCBufLPF3 Hardware Attributes. More...

#include <ADCBufLPF3.h>

Collaboration diagram for ADCBufLPF3_HWAttrs:
Collaboration graph
[legend]

Data Fields

volatile uDMAControlTableEntry * dataDmaTableEntryPri
 
volatile uDMAControlTableEntry * dataDmaTableEntryAlt
 
volatile uDMAControlTableEntry * auxDmaTableEntryPri
 
ADCBufLPF3_AdcChannelLutEntry const * adcChannelLut
 
ADCLPF3_Resolution_Bits resolutionBits
 
uint32_t dataDmaChannelMask
 
uint32_t auxDmaChannelMask
 
uint32_t dataDmaSubscriberId
 
uint32_t auxDmaSubscriberId
 
uint8_t intPriority
 
uint8_t adcRefPosDIO
 
uint8_t adcRefNegDIO
 

Detailed Description

ADCBufLPF3 Hardware Attributes.

A sample structure is shown below:

{
{
.refVoltage = 3300000,
.adcInputDIO = CONFIG_GPIO_ADCBUF_0_CHANNEL_0,
.internalChannel = 8,
.refSource = ADCLPF3_VDDS_REFERENCE,
},
}
ALLOCATE_CONTROL_TABLE_ENTRY(dmaChannel3ControlTableEntry, 3 + UDMA_PRI_SELECT);
ALLOCATE_CONTROL_TABLE_ENTRY(dmaChannel3AltControlTableEntry, 3 + UDMA_ALT_SELECT);
ALLOCATE_CONTROL_TABLE_ENTRY(dmaChannel7ControlTableEntry, 7 + UDMA_PRI_SELECT);
const ADCBufLPF3_HWAttrs ADCBufLPF3HWAttrs[] = {
{
.dataDmaTableEntryPri = &dmaChannel3ControlTableEntry,
.dataDmaTableEntryAlt = &dmaChannel3AltControlTableEntry,
.auxDmaTableEntryPri = &dmaChannel7ControlTableEntry,
.adcChannelLut = adcChannelLut,
.resolutionBits = ADCLPF3_RESOLUTION_12_BIT,
.dataDmaChannelMask = UDMA_CHANNEL_3_M,
.auxDmaChannelMask = UDMA_CHANNEL_7_M,
.dataDmaSubscriberId = EVTSVT_DMA_CH3,
.auxDmaSubscriberId = EVTSVT_DMA_CH7,
.intPriority = ~0,
.adcRefPosDIO = GPIO_INVALID_INDEX,
.adcRefNegDIO = GPIO_INVALID_INDEX,
}
};

Field Documentation

§ dataDmaTableEntryPri

volatile uDMAControlTableEntry* ADCBufLPF3_HWAttrs::dataDmaTableEntryPri

uDMA primary control table entry for the data DMA channel

§ dataDmaTableEntryAlt

volatile uDMAControlTableEntry* ADCBufLPF3_HWAttrs::dataDmaTableEntryAlt

uDMA secondary control table entry for the data DMA channel

§ auxDmaTableEntryPri

volatile uDMAControlTableEntry* ADCBufLPF3_HWAttrs::auxDmaTableEntryPri

uDMA primary control table entry for auxiliary DMA channel used to re-enable DMA triggers for the data DMA channel.

§ adcChannelLut

ADCBufLPF3_AdcChannelLutEntry const* ADCBufLPF3_HWAttrs::adcChannelLut

Pointer to a table of ADCBufLPF3_AdcChannelLutEntry's. When starting a conversion using ADCBuf_convert(), ADCBuf_Conversion.adcChannel is used as an index into this table

§ resolutionBits

ADCLPF3_Resolution_Bits ADCBufLPF3_HWAttrs::resolutionBits

Resolution of ADC-conversion.

§ dataDmaChannelMask

uint32_t ADCBufLPF3_HWAttrs::dataDmaChannelMask

Mask for the data DMA channel (1 << channel number)

§ auxDmaChannelMask

uint32_t ADCBufLPF3_HWAttrs::auxDmaChannelMask

Mask for auxiliary DMA channel (1 << channel number)

§ dataDmaSubscriberId

uint32_t ADCBufLPF3_HWAttrs::dataDmaSubscriberId

MCU event fabric subscriber ID for the data DMA channel to be used, as defined in driverlib/evtsvt.h. Must support EVTSVT_DMA_TRIG_ADC0TRG.

§ auxDmaSubscriberId

uint32_t ADCBufLPF3_HWAttrs::auxDmaSubscriberId

MCU event fabric subscriber ID for the auxiliary DMA channel to be used, as defined in driverlib/evtsvt.h. Must support EVTSVT_PUB_ADC_COMB.

§ intPriority

uint8_t ADCBufLPF3_HWAttrs::intPriority

ADC peripheral's interrupt priority. This value is passed unmodified to HwiP_construct().

§ adcRefPosDIO

uint8_t ADCBufLPF3_HWAttrs::adcRefPosDIO

DIO that the ADC positive reference is routed to. If no channel in the ADCBufLPF3_HWAttrs.adcChannelLut is using the external ADC reference, then this should be set to GPIO_INVALID_INDEX.

§ adcRefNegDIO

uint8_t ADCBufLPF3_HWAttrs::adcRefNegDIO

DIO that the ADC negative reference is routed to. If no channel in the ADCBufLPF3_HWAttrs.adcChannelLut is using the external ADC reference, then this should be set to GPIO_INVALID_INDEX.


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