MSP430 DriverLib for MSP430i2xx Devices  2.10.00.09
 All Data Structures Functions Variables Modules Pages
SD24_initConverterAdvancedParam Struct Reference

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

#include <sd24.h>

Data Fields

uint8_t converter
 
uint16_t conversionMode
 
uint8_t groupEnable
 
uint8_t inputChannel
 
uint8_t dataFormat
 
uint8_t interruptDelay
 
uint16_t oversampleRatio
 
uint8_t gain
 

Detailed Description

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

Field Documentation

uint16_t SD24_initConverterAdvancedParam::conversionMode

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

  • SD24_CONTINUOUS_MODE [Default]
  • SD24_SINGLE_MODE

Referenced by SD24_initConverterAdvanced().

uint8_t SD24_initConverterAdvancedParam::converter

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

  • SD24_CONVERTER_0
  • SD24_CONVERTER_1
  • SD24_CONVERTER_2
  • SD24_CONVERTER_3

Referenced by SD24_initConverterAdvanced().

uint8_t SD24_initConverterAdvancedParam::dataFormat

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

  • SD24_DATA_FORMAT_BINARY [Default]
  • SD24_DATA_FORMAT_2COMPLEMENT

Referenced by SD24_initConverterAdvanced().

uint8_t SD24_initConverterAdvancedParam::gain

Selects the gain for the converter
Valid values are:

  • SD24_GAIN_1 [Default]
  • SD24_GAIN_2
  • SD24_GAIN_4
  • SD24_GAIN_8
  • SD24_GAIN_16

Referenced by SD24_initConverterAdvanced().

uint8_t SD24_initConverterAdvancedParam::groupEnable


Valid values are:

  • SD24_NOT_GROUPED
  • SD24_GROUPED [Default]

Referenced by SD24_initConverterAdvanced().

uint8_t SD24_initConverterAdvancedParam::inputChannel

Selects oversampling ratio for the converter
Valid values are:

  • SD24_INPUT_CH_ANALOG
  • SD24_INPUT_CH_TEMPERATURE

Referenced by SD24_initConverterAdvanced().

uint8_t SD24_initConverterAdvancedParam::interruptDelay

Selects the delay for the interrupt
Valid values are:

  • SD24_FIRST_SAMPLE_INTERRUPT
  • SD24_FOURTH_SAMPLE_INTERRUPT [Default]

Referenced by SD24_initConverterAdvanced().

uint16_t SD24_initConverterAdvancedParam::oversampleRatio

Selects oversampling ratio for the converter
Valid values are:

  • SD24_OVERSAMPLE_32
  • SD24_OVERSAMPLE_64
  • SD24_OVERSAMPLE_128
  • SD24_OVERSAMPLE_256

Referenced by SD24_initConverterAdvanced().


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

Copyright 2015, Texas Instruments Incorporated