Data Fields
ADCBufMSP432E4_HWAttrsV1 Struct Reference

ADCBufMSP432E4 Hardware attributes. More...

#include <ADCBufMSP432E4.h>

Collaboration diagram for ADCBufMSP432E4_HWAttrsV1:
Collaboration graph
[legend]

Data Fields

uint32_t intPriority
 
uint32_t adcBase
 
uint32_t adcTimerSource
 
ADCBufMSP432E4_ChannelschannelSetting
 
ADCBufMSP432E4_TriggerSourceadcTriggerSource
 
ADCBufMSP432E4_Phase modulePhase
 
ADCBufMSP432E4_ReferenceSource refSource
 
ADCBufMSP432E4_SequencePrioritiessequencePriority
 
uint8_t useDMA
 

Detailed Description

ADCBufMSP432E4 Hardware attributes.

The ADCBufMSP432E4 hardware attributes define hardware specific settings for a ADCBuf driver instance.

A sample structure is shown below:

ADCBufMSP432E4_Seq_Disable
};
ADCBufMSP432E4_TIMER_TRIGGER
};
ADCBufMSP432E4_Channels adcBufMSP432E4Channels[1] = {
{
.adcSequence = ADCBufMSP432E4_Seq_0,
.adcInputMode = ADCBufMSP432E4_SINGLE_ENDED,
.adcDifferentialPin = ADCBufMSP432E4_PIN_NONE,
.refVoltage = 3300000
}
};
const ADCBufMSP432E4_HWAttrsV1 adcbufMSP432E4HWAttrs[1] = {
{
.intPriority = ~0,
.adcBase = ADC0_BASE,
.channelSetting = adcBufMSP432E4Channels,
.sequencePriority = sequencePriority,
.adcTriggerSource = adcTriggerSource,
.useDMA = 1,
.adcTimerSource = TIMER1_BASE,
}
};

Field Documentation

§ intPriority

uint32_t ADCBufMSP432E4_HWAttrsV1::intPriority

ADC interrupt priority

§ adcBase

uint32_t ADCBufMSP432E4_HWAttrsV1::adcBase

ADC peripheral base address.

§ adcTimerSource

uint32_t ADCBufMSP432E4_HWAttrsV1::adcTimerSource

Base address of timer peripheral to use as a timer trigger source when a sequencer is using ADCBufMSP432E4_TIMER_TRIGGER. When using both ADC peripherals, both must be initialized to use the same adcTimerSource.

§ channelSetting

ADCBufMSP432E4_Channels* ADCBufMSP432E4_HWAttrsV1::channelSetting

Pointer to an array of ADCBufMSP432E4_Channels.

§ adcTriggerSource

ADCBufMSP432E4_TriggerSource* ADCBufMSP432E4_HWAttrsV1::adcTriggerSource

Pointer to an array of ADCBufMSP432E4_TriggerSource.

§ modulePhase

ADCBufMSP432E4_Phase ADCBufMSP432E4_HWAttrsV1::modulePhase

ADC phase delay between the detection of an ADC trigger event and the start of the sample sequencer

§ refSource

ADCBufMSP432E4_ReferenceSource ADCBufMSP432E4_HWAttrsV1::refSource

ADC reference voltage source

§ sequencePriority

ADCBufMSP432E4_SequencePriorities* ADCBufMSP432E4_HWAttrsV1::sequencePriority

Pointer to an array of ADCBufMSP432E4_SequencePriorities

§ useDMA

uint8_t ADCBufMSP432E4_HWAttrsV1::useDMA

Enables or disables driver use of DMA. Use 1 to enable and 0 to disable.


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