TI-RTOS Drivers  tidrivers_full_2_20_00_08
Data Fields
ADCMSP432_HWAttrs Struct Reference

ADCMSP432 Hardware attributes These fields are used by driverlib APIs and therefore must be populated by driverlib macro definitions. For MSPWare these definitions are found in: More...

#include <ADCMSP432.h>

Data Fields

uint_fast16_t channel
 
uint_fast16_t gpioPort
 
uint_fast16_t gpioPin
 
uint_fast16_t gpioMode
 
uint_fast16_t refVoltage
 
uint_fast32_t resolution
 

Detailed Description

ADCMSP432 Hardware attributes These fields are used by driverlib APIs and therefore must be populated by driverlib macro definitions. For MSPWare these definitions are found in:

A sample structure is shown below:

const ADCMSP432_HWAttrs adcMSP432HWAttrs[Board_ADCCHANNELCOUNT] = {
{
.channel = ADC_INPUT_A0,
.gpioPort = GPIO_PORT_P5,
.gpioPin = GPIO_PIN5,
.gpioMode = GPIO_TERTIARY_MODULE_FUNCTION,
.refVoltage = REF_A_VREF2_5V,
.resolution = ADC_14BIT
}
};

Field Documentation

uint_fast16_t ADCMSP432_HWAttrs::channel
uint_fast16_t ADCMSP432_HWAttrs::gpioPort

ADC channel

uint_fast16_t ADCMSP432_HWAttrs::gpioPin

GPIO port for the ADC channel

uint_fast16_t ADCMSP432_HWAttrs::gpioMode

GPIO pin for the ADC channel

uint_fast16_t ADCMSP432_HWAttrs::refVoltage

GPIO function mode for the ADC channel

uint_fast32_t ADCMSP432_HWAttrs::resolution

Reference voltage for ADC channel


The documentation for this struct was generated from the following file:
Copyright 2016, Texas Instruments Incorporated