Data Fields
ADCBufMSP432_HWAttrs Struct Reference

ADCBufMSP432 Hardware attributes These fields are populated by PinMux tool but user is allowed to change for different channels setting. More...

#include <ADCBufMSP432.h>

Collaboration diagram for ADCBufMSP432_HWAttrs:
Collaboration graph
[legend]

Data Fields

uint32_t intPriority
 
ADCBufMSP432_ChannelschannelSetting
 
ADCBufMSP432_TimerReferenceSource adcTimerTriggerSource
 
uint8_t useDMA
 
uint8_t dmaIntNum
 
ADCBufMSP432_TriggerSource adcTriggerSource
 
uint32_t timerDutyCycle
 
ADCBufMSP432_ClockSource clockSource
 

Detailed Description

ADCBufMSP432 Hardware attributes These fields are populated by PinMux tool but user is allowed to change for different channels setting.

A sample structure is shown below:

ADCBufMSP432_Channels adcBufMSP432Channels[] = {
{
.refVoltage = 2500000
.adcInputMode = ADCBufMSP432_SINGLE_ENDED,
.adcDifferentialPin = ADCBufMSP432_PIN_NONE,
}
};
const ADCBufMSP432_HWAttrs adcbufMSP432HWAttrs[] = {
{
.intPriority = ~0,
.channelSetting = adcBufMSP432Channels,
.adcTimerTriggerSource = ADCBufMSP432_TIMERA0_CAPTURECOMPARE2,
.useDMA = 1,
.dmaIntNum = DMA_INT0,
.adcTimerTriggerSource = ADCBufMSP432_TIMERA0_CAPTURECOMPARE2
.timerDutyCycle = 50,
.adcClockSource = ADCBufMSP432_ADC_CLOCK,
}
};

Field Documentation

§ intPriority

uint32_t ADCBufMSP432_HWAttrs::intPriority

< ADC interrupt priority ADC channel specific setting

§ channelSetting

ADCBufMSP432_Channels* ADCBufMSP432_HWAttrs::channelSetting

ADC Timer Trigger Source

§ adcTimerTriggerSource

ADCBufMSP432_TimerReferenceSource ADCBufMSP432_HWAttrs::adcTimerTriggerSource

Select if ADC uses DMA

§ useDMA

uint8_t ADCBufMSP432_HWAttrs::useDMA

DMA interrupt number

§ dmaIntNum

uint8_t ADCBufMSP432_HWAttrs::dmaIntNum

ADC Trigger Source

§ adcTriggerSource

ADCBufMSP432_TriggerSource ADCBufMSP432_HWAttrs::adcTriggerSource

ADC Timer Duty Cycle

§ timerDutyCycle

uint32_t ADCBufMSP432_HWAttrs::timerDutyCycle

ADC Clock Source

§ clockSource

ADCBufMSP432_ClockSource ADCBufMSP432_HWAttrs::clockSource

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