MSP430 DriverLib for MSP430F5xx_6xx Devices  2.91.13.01
Comp_B_configureReferenceVoltageParam Struct Reference

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

#include <comp_b.h>

Data Fields

uint16_t supplyVoltageReferenceBase
 
uint16_t lowerLimitSupplyVoltageFractionOf32
 
uint16_t upperLimitSupplyVoltageFractionOf32
 
uint16_t referenceAccuracy
 

Detailed Description

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

Field Documentation

§ lowerLimitSupplyVoltageFractionOf32

uint16_t Comp_B_configureReferenceVoltageParam::lowerLimitSupplyVoltageFractionOf32

Is the numerator of the equation to generate the reference voltage for the lower limit reference voltage.

Referenced by Comp_B_configureReferenceVoltage().

§ referenceAccuracy

uint16_t Comp_B_configureReferenceVoltageParam::referenceAccuracy

is the reference accuracy setting of the Comp_B. Clocked is for low power/low accuracy.
Valid values are:

  • COMP_B_ACCURACY_STATIC
  • COMP_B_ACCURACY_CLOCKED

Referenced by Comp_B_configureReferenceVoltage().

§ supplyVoltageReferenceBase

uint16_t Comp_B_configureReferenceVoltageParam::supplyVoltageReferenceBase

Decides the source and max amount of Voltage that can be used as a reference.
Valid values are:

  • COMP_B_VREFBASE_VCC
  • COMP_B_VREFBASE1_5V
  • COMP_B_VREFBASE2_0V
  • COMP_B_VREFBASE2_5V

Referenced by Comp_B_configureReferenceVoltage().

§ upperLimitSupplyVoltageFractionOf32

uint16_t Comp_B_configureReferenceVoltageParam::upperLimitSupplyVoltageFractionOf32

Is the numerator of the equation to generate the reference voltage for the upper limit reference voltage.

Referenced by Comp_B_configureReferenceVoltage().


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

Copyright 2020, Texas Instruments Incorporated