MSP430 DriverLib for MSP430FR2xx_4xx Devices  2.91.13.01
EComp_configureDACParam Struct Reference

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

#include <ecomp.h>

Data Fields

uint8_t referenceVoltage
 
uint8_t bufferSource
 
uint16_t firstBufferData
 Sets the first DAC buffer data (0~63).
 
uint16_t secondBufferData
 

Detailed Description

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

Field Documentation

§ bufferSource

uint8_t EComp_configureDACParam::bufferSource

Selects the built-in DAC buffer controlled source.
Valid values are:

  • ECOMP_DAC_BUFFER_SOURCE_COMP_OUTPUT
  • ECOMP_DAC_BUFFER_SOURCE_DUAL_BUFFER_1 [Default]
  • ECOMP_DAC_BUFFER_SOURCE_DUAL_BUFFER_2

Referenced by EComp_configureDAC().

§ referenceVoltage

uint8_t EComp_configureDACParam::referenceVoltage

Selects the built-in DAC reference voltage.
Valid values are:

  • ECOMP_DAC_REFERENCE_VOLTAGE_VDD [Default]
  • ECOMP_DAC_REFERENCE_VOLTAGE_VREF

Referenced by EComp_configureDAC().

§ secondBufferData

uint16_t EComp_configureDACParam::secondBufferData

Sets the second DAC buffer data (0~63). The reset value for the second DAC buffer is 0x1.

Referenced by EComp_configureDAC().


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

Copyright 2020, Texas Instruments Incorporated