MSP430 DriverLib for MSP430FR5xx_6xx Devices  2.70.00.08
 All Data Structures Files Functions Variables Enumerations Modules Pages
ADC12_B_configureMemoryParam Struct Reference

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

#include <adc12_b.h>

Data Fields

uint8_t memoryBufferControlIndex
 
uint8_t inputSourceSelect
 
uint16_t refVoltageSourceSelect
 
uint16_t endOfSequence
 
uint16_t windowComparatorSelect
 
uint16_t differentialModeSelect
 

Detailed Description

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

Field Documentation

uint16_t ADC12_B_configureMemoryParam::differentialModeSelect

Sets the differential mode
Valid values are:

  • ADC12_B_DIFFERENTIAL_MODE_DISABLE [Default]
  • ADC12_B_DIFFERENTIAL_MODE_ENABLE

Referenced by ADC12_B_configureMemory().

uint16_t ADC12_B_configureMemoryParam::endOfSequence

Indicates that the specified memory buffer will be the end of the sequence if a sequenced conversion mode is selected
Valid values are:

  • ADC12_B_NOTENDOFSEQUENCE [Default] - The specified memory buffer will NOT be the end of the sequence OR a sequenced conversion mode is not selected.
  • ADC12_B_ENDOFSEQUENCE - The specified memory buffer will be the end of the sequence.

Referenced by ADC12_B_configureMemory().

uint8_t ADC12_B_configureMemoryParam::inputSourceSelect

Is the input that will store the converted data into the specified memory buffer.
Valid values are:

  • ADC12_B_INPUT_A0 [Default]
  • ADC12_B_INPUT_A1
  • ADC12_B_INPUT_A2
  • ADC12_B_INPUT_A3
  • ADC12_B_INPUT_A4
  • ADC12_B_INPUT_A5
  • ADC12_B_INPUT_A6
  • ADC12_B_INPUT_A7
  • ADC12_B_INPUT_A8
  • ADC12_B_INPUT_A9
  • ADC12_B_INPUT_A10
  • ADC12_B_INPUT_A11
  • ADC12_B_INPUT_A12
  • ADC12_B_INPUT_A13
  • ADC12_B_INPUT_A14
  • ADC12_B_INPUT_A15
  • ADC12_B_INPUT_A16
  • ADC12_B_INPUT_A17
  • ADC12_B_INPUT_A18
  • ADC12_B_INPUT_A19
  • ADC12_B_INPUT_A20
  • ADC12_B_INPUT_A21
  • ADC12_B_INPUT_A22
  • ADC12_B_INPUT_A23
  • ADC12_B_INPUT_A24
  • ADC12_B_INPUT_A25
  • ADC12_B_INPUT_A26
  • ADC12_B_INPUT_A27
  • ADC12_B_INPUT_A28
  • ADC12_B_INPUT_A29
  • ADC12_B_INPUT_TCMAP
  • ADC12_B_INPUT_BATMAP

Referenced by ADC12_B_configureMemory().

uint8_t ADC12_B_configureMemoryParam::memoryBufferControlIndex

Is the selected memory buffer to set the configuration for.
Valid values are:

  • ADC12_B_MEMORY_0
  • ADC12_B_MEMORY_1
  • ADC12_B_MEMORY_2
  • ADC12_B_MEMORY_3
  • ADC12_B_MEMORY_4
  • ADC12_B_MEMORY_5
  • ADC12_B_MEMORY_6
  • ADC12_B_MEMORY_7
  • ADC12_B_MEMORY_8
  • ADC12_B_MEMORY_9
  • ADC12_B_MEMORY_10
  • ADC12_B_MEMORY_11
  • ADC12_B_MEMORY_12
  • ADC12_B_MEMORY_13
  • ADC12_B_MEMORY_14
  • ADC12_B_MEMORY_15
  • ADC12_B_MEMORY_16
  • ADC12_B_MEMORY_17
  • ADC12_B_MEMORY_18
  • ADC12_B_MEMORY_19
  • ADC12_B_MEMORY_20
  • ADC12_B_MEMORY_21
  • ADC12_B_MEMORY_22
  • ADC12_B_MEMORY_23
  • ADC12_B_MEMORY_24
  • ADC12_B_MEMORY_25
  • ADC12_B_MEMORY_26
  • ADC12_B_MEMORY_27
  • ADC12_B_MEMORY_28
  • ADC12_B_MEMORY_29
  • ADC12_B_MEMORY_30
  • ADC12_B_MEMORY_31

Referenced by ADC12_B_configureMemory().

uint16_t ADC12_B_configureMemoryParam::refVoltageSourceSelect

Is the reference voltage source to set as the upper/lower limits for the conversion stored in the specified memory.
Valid values are:

  • ADC12_B_VREFPOS_AVCC_VREFNEG_VSS [Default]
  • ADC12_B_VREFPOS_INTBUF_VREFNEG_VSS
  • ADC12_B_VREFPOS_EXTNEG_VREFNEG_VSS
  • ADC12_B_VREFPOS_EXTBUF_VREFNEG_VSS
  • ADC12_B_VREFPOS_EXTPOS_VREFNEG_VSS
  • ADC12_B_VREFPOS_AVCC_VREFNEG_EXTBUF
  • ADC12_B_VREFPOS_AVCC_VREFNEG_EXTPOS
  • ADC12_B_VREFPOS_INTBUF_VREFNEG_EXTPOS
  • ADC12_B_VREFPOS_AVCC_VREFNEG_INTBUF
  • ADC12_B_VREFPOS_EXTPOS_VREFNEG_INTBUF
  • ADC12_B_VREFPOS_AVCC_VREFNEG_EXTNEG
  • ADC12_B_VREFPOS_INTBUF_VREFNEG_EXTNEG
  • ADC12_B_VREFPOS_EXTPOS_VREFNEG_EXTNEG
  • ADC12_B_VREFPOS_EXTBUF_VREFNEG_EXTNEG

Referenced by ADC12_B_configureMemory().

uint16_t ADC12_B_configureMemoryParam::windowComparatorSelect

Sets the window comparator mode
Valid values are:

  • ADC12_B_WINDOW_COMPARATOR_DISABLE [Default]
  • ADC12_B_WINDOW_COMPARATOR_ENABLE

Referenced by ADC12_B_configureMemory().


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

Copyright 2016, Texas Instruments Incorporated