MSP430 DriverLib for MSP430FR5xx_6xx Devices  2.21.00.08
 All Data Structures Functions Variables Modules Pages
Comp_E_initParam Struct Reference

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

#include <comp_e.h>

Data Fields

uint16_t posTerminalInput
 
uint16_t negTerminalInput
 
uint8_t outputFilterEnableAndDelayLevel
 
uint16_t invertedOutputPolarity
 

Detailed Description

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

Field Documentation

uint16_t Comp_E_initParam::invertedOutputPolarity

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

  • COMP_E_NORMALOUTPUTPOLARITY - indicates the output should be normal
  • COMP_E_INVERTEDOUTPUTPOLARITY - the output should be inverted

Referenced by Comp_E_init().

uint16_t Comp_E_initParam::negTerminalInput

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

  • COMP_E_INPUT0 [Default]
  • COMP_E_INPUT1
  • COMP_E_INPUT2
  • COMP_E_INPUT3
  • COMP_E_INPUT4
  • COMP_E_INPUT5
  • COMP_E_INPUT6
  • COMP_E_INPUT7
  • COMP_E_INPUT8
  • COMP_E_INPUT9
  • COMP_E_INPUT10
  • COMP_E_INPUT11
  • COMP_E_INPUT12
  • COMP_E_INPUT13
  • COMP_E_INPUT14
  • COMP_E_INPUT15
  • COMP_E_VREF

Referenced by Comp_E_init().

uint8_t Comp_E_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_E_FILTEROUTPUT_OFF [Default]
  • COMP_E_FILTEROUTPUT_DLYLVL1
  • COMP_E_FILTEROUTPUT_DLYLVL2
  • COMP_E_FILTEROUTPUT_DLYLVL3
  • COMP_E_FILTEROUTPUT_DLYLVL4

Referenced by Comp_E_init().

uint16_t Comp_E_initParam::posTerminalInput

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

  • COMP_E_INPUT0 [Default]
  • COMP_E_INPUT1
  • COMP_E_INPUT2
  • COMP_E_INPUT3
  • COMP_E_INPUT4
  • COMP_E_INPUT5
  • COMP_E_INPUT6
  • COMP_E_INPUT7
  • COMP_E_INPUT8
  • COMP_E_INPUT9
  • COMP_E_INPUT10
  • COMP_E_INPUT11
  • COMP_E_INPUT12
  • COMP_E_INPUT13
  • COMP_E_INPUT14
  • COMP_E_INPUT15
  • COMP_E_VREF

Referenced by Comp_E_init().


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

Copyright 2015, Texas Instruments Incorporated