MSP430 DriverLib for MSP430F5xx_6xx Devices  2.91.13.01
SD24_B_initConverterAdvancedParam Struct Reference

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

#include <sd24_b.h>

Data Fields

uint8_t converter
 
uint8_t alignment
 
uint8_t startSelect
 
uint8_t conversionMode
 
uint8_t dataFormat
 
uint8_t sampleDelay
 
uint16_t oversampleRatio
 
uint8_t gain
 

Detailed Description

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

Field Documentation

§ alignment

uint8_t SD24_B_initConverterAdvancedParam::alignment

Selects how the data will be aligned in result
Valid values are:

  • SD24_B_ALIGN_RIGHT [Default]
  • SD24_B_ALIGN_LEFT

Referenced by SD24_B_initConverterAdvanced().

§ conversionMode

uint8_t SD24_B_initConverterAdvancedParam::conversionMode

Determines whether the converter will do continuous samples or a single sample
Valid values are:

  • SD24_B_CONTINUOUS_MODE [Default]
  • SD24_B_SINGLE_MODE

Referenced by SD24_B_initConverterAdvanced().

§ converter

uint8_t SD24_B_initConverterAdvancedParam::converter

Selects the converter that will be configured. Check datasheet for available converters on device.
Valid values are:

  • SD24_B_CONVERTER_0
  • SD24_B_CONVERTER_1
  • SD24_B_CONVERTER_2
  • SD24_B_CONVERTER_3
  • SD24_B_CONVERTER_4
  • SD24_B_CONVERTER_5
  • SD24_B_CONVERTER_6
  • SD24_B_CONVERTER_7

Referenced by SD24_B_initConverterAdvanced().

§ dataFormat

uint8_t SD24_B_initConverterAdvancedParam::dataFormat

Selects how the data format of the results
Valid values are:

  • SD24_B_DATA_FORMAT_BINARY [Default]
  • SD24_B_DATA_FORMAT_2COMPLEMENT

Referenced by SD24_B_initConverterAdvanced().

§ gain

uint8_t SD24_B_initConverterAdvancedParam::gain

Selects the gain for the converter
Valid values are:

  • SD24_B_GAIN_1 [Default]
  • SD24_B_GAIN_2
  • SD24_B_GAIN_4
  • SD24_B_GAIN_8
  • SD24_B_GAIN_16
  • SD24_B_GAIN_32
  • SD24_B_GAIN_64
  • SD24_B_GAIN_128

Referenced by SD24_B_initConverterAdvanced().

§ oversampleRatio

uint16_t SD24_B_initConverterAdvancedParam::oversampleRatio

Selects oversampling ratio for the converter
Valid values are:

  • SD24_B_OVERSAMPLE_32
  • SD24_B_OVERSAMPLE_64
  • SD24_B_OVERSAMPLE_128
  • SD24_B_OVERSAMPLE_256
  • SD24_B_OVERSAMPLE_512
  • SD24_B_OVERSAMPLE_1024

Referenced by SD24_B_initConverterAdvanced().

§ sampleDelay

uint8_t SD24_B_initConverterAdvancedParam::sampleDelay

Selects the delay for the interrupt
Valid values are:

  • SD24_B_FOURTH_SAMPLE_INTERRUPT [Default]
  • SD24_B_THIRD_SAMPLE_INTERRUPT
  • SD24_B_SECOND_SAMPLE_INTERRUPT
  • SD24_B_FIRST_SAMPLE_INTERRUPT

Referenced by SD24_B_initConverterAdvanced().

§ startSelect

uint8_t SD24_B_initConverterAdvancedParam::startSelect

Selects what will trigger the start of the converter
Valid values are:

  • SD24_B_CONVERSION_SELECT_SD24SC [Default]
  • SD24_B_CONVERSION_SELECT_EXT1
  • SD24_B_CONVERSION_SELECT_EXT2
  • SD24_B_CONVERSION_SELECT_EXT3
  • SD24_B_CONVERSION_SELECT_GROUP0
  • SD24_B_CONVERSION_SELECT_GROUP1
  • SD24_B_CONVERSION_SELECT_GROUP2
  • SD24_B_CONVERSION_SELECT_GROUP3

Referenced by SD24_B_initConverterAdvanced().


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

Copyright 2020, Texas Instruments Incorporated