MSP430 DriverLib for MSP430FR5xx_6xx Devices  2.21.00.08
 All Data Structures Functions Variables Modules Pages
ADC12_B_initParam Struct Reference

Used in the ADC12_B_init() function as the param parameter. More...

#include <adc12_b.h>

Data Fields

uint16_t sampleHoldSignalSourceSelect
 
uint8_t clockSourceSelect
 
uint16_t clockSourceDivider
 
uint16_t clockSourcePredivider
 
uint16_t internalChannelMap
 

Detailed Description

Used in the ADC12_B_init() function as the param parameter.

Field Documentation

uint16_t ADC12_B_initParam::clockSourceDivider

Selects the amount that the clock will be divided.
Valid values are:

  • ADC12_B_CLOCKDIVIDER_1 [Default]
  • ADC12_B_CLOCKDIVIDER_2
  • ADC12_B_CLOCKDIVIDER_3
  • ADC12_B_CLOCKDIVIDER_4
  • ADC12_B_CLOCKDIVIDER_5
  • ADC12_B_CLOCKDIVIDER_6
  • ADC12_B_CLOCKDIVIDER_7
  • ADC12_B_CLOCKDIVIDER_8

Referenced by ADC12_B_init().

uint16_t ADC12_B_initParam::clockSourcePredivider

Selects the amount that the clock will be predivided.
Valid values are:

  • ADC12_B_CLOCKPREDIVIDER__1 [Default]
  • ADC12_B_CLOCKPREDIVIDER__4
  • ADC12_B_CLOCKPREDIVIDER__32
  • ADC12_B_CLOCKPREDIVIDER__64

Referenced by ADC12_B_init().

uint8_t ADC12_B_initParam::clockSourceSelect

Selects the clock that will be used by the ADC12B core, and the sampling timer if a sampling pulse mode is enabled.
Valid values are:

  • ADC12_B_CLOCKSOURCE_ADC12OSC [Default] - MODOSC 5 MHz oscillator from the UCS
  • ADC12_B_CLOCKSOURCE_ACLK - The Auxiliary Clock
  • ADC12_B_CLOCKSOURCE_MCLK - The Master Clock
  • ADC12_B_CLOCKSOURCE_SMCLK - The Sub-Master Clock

Referenced by ADC12_B_init().

uint16_t ADC12_B_initParam::internalChannelMap

Selects what internal channel to map for ADC input channels
Valid values are:

  • ADC12_B_MAPINTCH3
  • ADC12_B_MAPINTCH2
  • ADC12_B_MAPINTCH1
  • ADC12_B_MAPINTCH0
  • ADC12_B_TEMPSENSEMAP
  • ADC12_B_BATTMAP
  • ADC12_B_NOINTCH

Referenced by ADC12_B_init().

uint16_t ADC12_B_initParam::sampleHoldSignalSourceSelect

Is the signal that will trigger a sample-and-hold for an input signal to be converted.
Valid values are:

  • ADC12_B_SAMPLEHOLDSOURCE_SC [Default]
  • ADC12_B_SAMPLEHOLDSOURCE_1
  • ADC12_B_SAMPLEHOLDSOURCE_2
  • ADC12_B_SAMPLEHOLDSOURCE_3
  • ADC12_B_SAMPLEHOLDSOURCE_4
  • ADC12_B_SAMPLEHOLDSOURCE_5
  • ADC12_B_SAMPLEHOLDSOURCE_6
  • ADC12_B_SAMPLEHOLDSOURCE_7 - This parameter is device specific and sources should be found in the device's datasheet.

Referenced by ADC12_B_init().


The documentation for this struct was generated from the following file:

Copyright 2015, Texas Instruments Incorporated