MSP430 DriverLib for MSP430FR2xx_4xx Devices  2.91.13.01
EComp_initParam Struct Reference

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

#include <ecomp.h>

Data Fields

uint8_t positiveTerminalInput
 
uint8_t negativeTerminalInput
 
uint16_t outputFilterEnableAndDelayLevel
 
uint16_t invertedOutputPolarity
 

Detailed Description

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

Field Documentation

§ invertedOutputPolarity

uint16_t EComp_initParam::invertedOutputPolarity

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

  • ECOMP_NORMAL_OUTPUT_POLARITY [Default]
  • ECOMP_INVERTED_OUTPUT_POLARITY

Referenced by EComp_init().

§ negativeTerminalInput

uint8_t EComp_initParam::negativeTerminalInput

Selects the input to the negative terminal
Valid values are:

  • ECOMP_INPUT_0
  • ECOMP_INPUT_1
  • ECOMP_INPUT_2
  • ECOMP_INPUT_3
  • ECOMP_INPUT_DEVICE_SPECIFIC_0
  • ECOMP_INPUT_DEVICE_SPECIFIC_1
  • ECOMP_INPUT_DAC
  • ECOMP_INPUT_DISABLED

Referenced by EComp_init().

§ outputFilterEnableAndDelayLevel

uint16_t EComp_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:

  • ECOMP_FILTER_DELAY_OFF [Default]
  • ECOMP_FILTER_DELAY_450NS
  • ECOMP_FILTER_DELAY_900NS
  • ECOMP_FILTER_DELAY_1800NS
  • ECOMP_FILTER_DELAY_3600NS

Referenced by EComp_init().

§ positiveTerminalInput

uint8_t EComp_initParam::positiveTerminalInput

Selects the input to the positive terminal
Valid values are:

  • ECOMP_INPUT_0
  • ECOMP_INPUT_1
  • ECOMP_INPUT_2
  • ECOMP_INPUT_3
  • ECOMP_INPUT_DEVICE_SPECIFIC_0
  • ECOMP_INPUT_DEVICE_SPECIFIC_1
  • ECOMP_INPUT_DAC
  • ECOMP_INPUT_DISABLED

Referenced by EComp_init().


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

Copyright 2020, Texas Instruments Incorporated