MSP430 DriverLib for MSP430F5xx_6xx Devices  2.60.00.02
 All Data Structures Functions Variables Modules Pages
DAC12_A_initParam Struct Reference

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

#include <dac12_a.h>

Data Fields

uint8_t submoduleSelect
 
uint16_t outputSelect
 
uint16_t positiveReferenceVoltage
 
uint16_t outputVoltageMultiplier
 
uint8_t amplifierSetting
 
uint16_t conversionTriggerSelect
 

Detailed Description

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

Field Documentation

uint8_t DAC12_A_initParam::amplifierSetting

Is the setting of the settling speed and current of the Vref+ and the Vout buffer.
Valid values are:

  • DAC12_A_AMP_OFF_PINOUTHIGHZ [Default] - Initialize the DAC12_A Module with settings, but do not turn it on.
  • DAC12_A_AMP_OFF_PINOUTLOW - Initialize the DAC12_A Module with settings, and allow it to take control of the selected output pin to pull it low (Note: this takes control away port mapping module).
  • DAC12_A_AMP_LOWIN_LOWOUT - Select a slow settling speed and current for Vref+ input buffer and for Vout output buffer.
  • DAC12_A_AMP_LOWIN_MEDOUT - Select a slow settling speed and current for Vref+ input buffer and a medium settling speed and current for Vout output buffer.
  • DAC12_A_AMP_LOWIN_HIGHOUT - Select a slow settling speed and current for Vref+ input buffer and a high settling speed and current for Vout output buffer.
  • DAC12_A_AMP_MEDIN_MEDOUT - Select a medium settling speed and current for Vref+ input buffer and for Vout output buffer.
  • DAC12_A_AMP_MEDIN_HIGHOUT - Select a medium settling speed and current for Vref+ input buffer and a high settling speed and current for Vout output buffer.
  • DAC12_A_AMP_HIGHIN_HIGHOUT - Select a high settling speed and current for Vref+ input buffer and for Vout output buffer.

Referenced by DAC12_A_init().

uint16_t DAC12_A_initParam::conversionTriggerSelect

Selects the trigger that will start a conversion.
Valid values are:

  • DAC12_A_TRIGGER_ENCBYPASS [Default] - Automatically converts data as soon as it is written into the data buffer. (Note: Do not use this selection if grouping DAC's).
  • DAC12_A_TRIGGER_ENC - Requires a call to enableConversions() to allow a conversion, but starts a conversion as soon as data is written to the data buffer (Note: with DAC12_A module's grouped, data has to be set in BOTH DAC12_A data buffers to start a conversion).
  • DAC12_A_TRIGGER_TA - Requires a call to enableConversions() to allow a conversion, and a rising edge of Timer_A's Out1 (TA1) to start a conversion.
  • DAC12_A_TRIGGER_TB - Requires a call to enableConversions() to allow a conversion, and a rising edge of Timer_B's Out2 (TB2) to start a conversion.

Referenced by DAC12_A_init().

uint16_t DAC12_A_initParam::outputSelect

Selects the output pin that the selected DAC12_A module will output to.
Valid values are:

  • DAC12_A_OUTPUT_1 [Default]
  • DAC12_A_OUTPUT_2

Referenced by DAC12_A_init().

uint16_t DAC12_A_initParam::outputVoltageMultiplier

Is the multiplier of the Vout voltage.
Valid values are:

  • DAC12_A_VREFx1 [Default]
  • DAC12_A_VREFx2
  • DAC12_A_VREFx3

Referenced by DAC12_A_init().

uint16_t DAC12_A_initParam::positiveReferenceVoltage

Is the upper limit voltage that the data can be converted in to.
Valid values are:

  • DAC12_A_VREF_INT [Default]
  • DAC12_A_VREF_AVCC
  • DAC12_A_VREF_EXT - For devices with CTSD16, use Ref module Ref_enableReferenceVoltageOutput/Ref__disableReferenceVoltageOutput to select VeREF(external reference signal) or VREFBG(internally generated reference signal)

Referenced by DAC12_A_init().

uint8_t DAC12_A_initParam::submoduleSelect

Decides which DAC12_A sub-module to configure.
Valid values are:

  • DAC12_A_SUBMODULE_0
  • DAC12_A_SUBMODULE_1

Referenced by DAC12_A_init().


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

Copyright 2016, Texas Instruments Incorporated