MSP430 DriverLib for MSP430F5xx_6xx Devices  2.91.13.01
Comp_B_initParam Struct Reference

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

#include <comp_b.h>

Data Fields

uint8_t positiveTerminalInput
 
uint8_t negativeTerminalInput
 
uint16_t powerModeSelect
 
uint8_t outputFilterEnableAndDelayLevel
 
uint16_t invertedOutputPolarity
 

Detailed Description

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

Field Documentation

§ invertedOutputPolarity

uint16_t Comp_B_initParam::invertedOutputPolarity

Controls if the output will be inverted or not
Valid values are:

  • COMP_B_NORMALOUTPUTPOLARITY [Default]
  • COMP_B_INVERTEDOUTPUTPOLARITY

Referenced by Comp_B_init().

§ negativeTerminalInput

uint8_t Comp_B_initParam::negativeTerminalInput

Selects the input to the negative terminal.
Valid values are:

  • COMP_B_INPUT0 [Default]
  • COMP_B_INPUT1
  • COMP_B_INPUT2
  • COMP_B_INPUT3
  • COMP_B_INPUT4
  • COMP_B_INPUT5
  • COMP_B_INPUT6
  • COMP_B_INPUT7
  • COMP_B_INPUT8
  • COMP_B_INPUT9
  • COMP_B_INPUT10
  • COMP_B_INPUT11
  • COMP_B_INPUT12
  • COMP_B_INPUT13
  • COMP_B_INPUT14
  • COMP_B_INPUT15
  • COMP_B_VREF

Referenced by Comp_B_init().

§ outputFilterEnableAndDelayLevel

uint8_t Comp_B_initParam::outputFilterEnableAndDelayLevel

Controls the output filter delay state, which is either off or enabled with a specified delay level. This parameter is device specific and delay levels should be found in the device's datasheet.
Valid values are:

  • COMP_B_FILTEROUTPUT_OFF [Default]
  • COMP_B_FILTEROUTPUT_DLYLVL1
  • COMP_B_FILTEROUTPUT_DLYLVL2
  • COMP_B_FILTEROUTPUT_DLYLVL3
  • COMP_B_FILTEROUTPUT_DLYLVL4

Referenced by Comp_B_init().

§ positiveTerminalInput

uint8_t Comp_B_initParam::positiveTerminalInput

Selects the input to the positive terminal.
Valid values are:

  • COMP_B_INPUT0 [Default]
  • COMP_B_INPUT1
  • COMP_B_INPUT2
  • COMP_B_INPUT3
  • COMP_B_INPUT4
  • COMP_B_INPUT5
  • COMP_B_INPUT6
  • COMP_B_INPUT7
  • COMP_B_INPUT8
  • COMP_B_INPUT9
  • COMP_B_INPUT10
  • COMP_B_INPUT11
  • COMP_B_INPUT12
  • COMP_B_INPUT13
  • COMP_B_INPUT14
  • COMP_B_INPUT15
  • COMP_B_VREF

Referenced by Comp_B_init().

§ powerModeSelect

uint16_t Comp_B_initParam::powerModeSelect

Selects the power mode at which the Comp_B module will operate at.
Valid values are:

  • COMP_B_POWERMODE_HIGHSPEED [Default]
  • COMP_B_POWERMODE_NORMALMODE
  • COMP_B_POWERMODE_ULTRALOWPOWER

Referenced by Comp_B_init().


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

Copyright 2020, Texas Instruments Incorporated