EFM32 Pearl Gecko Software Documentation  efm32pg1-doc-4.2.1
ACMP_Init_TypeDef Struct Reference

#include <em_acmp.h>

Data Fields

bool fullBias
 
uint32_t biasProg
 
bool interruptOnFallingEdge
 
bool interruptOnRisingEdge
 
ACMP_InputRange_TypeDef inputRange
 
ACMP_Accuracy_TypeDef accuracy
 
ACMP_PowerSource_TypeDef powerSource
 
ACMP_HysteresisLevel_TypeDef hysteresisLevel_0
 
ACMP_HysteresisLevel_TypeDef hysteresisLevel_1
 
ACMP_VLPInput_Typedef vlpInput
 
bool inactiveValue
 
bool enable
 

Detailed Description

ACMP initialization structure.

Definition at line 584 of file em_acmp.h.

Field Documentation

bool ACMP_Init_TypeDef::fullBias

Full bias current. See the ACMP chapter about bias and response time in the reference manual for details.

Definition at line 588 of file em_acmp.h.

Referenced by ACMP_Init().

uint32_t ACMP_Init_TypeDef::biasProg

Bias current. See the ACMP chapter about bias and response time in the reference manual for details. Valid values are in the range 0-7.

Definition at line 598 of file em_acmp.h.

Referenced by ACMP_Init().

bool ACMP_Init_TypeDef::interruptOnFallingEdge

Enable setting the interrupt flag on falling edge

Definition at line 601 of file em_acmp.h.

Referenced by ACMP_Init().

bool ACMP_Init_TypeDef::interruptOnRisingEdge

Enable setting the interrupt flag on rising edge

Definition at line 604 of file em_acmp.h.

Referenced by ACMP_Init().

ACMP_InputRange_TypeDef ACMP_Init_TypeDef::inputRange

Input range. Adjust this setting to optimize the performance for a given input voltage range.

Definition at line 609 of file em_acmp.h.

Referenced by ACMP_Init().

ACMP_Accuracy_TypeDef ACMP_Init_TypeDef::accuracy

ACMP accuracy mode. Select the accuracy mode that matches the required current usage and accuracy requirement. Low accuracy consumes less current while high accuracy consumes more current.

Definition at line 616 of file em_acmp.h.

Referenced by ACMP_Init().

ACMP_PowerSource_TypeDef ACMP_Init_TypeDef::powerSource

Select the power source for the ACMP.

Definition at line 621 of file em_acmp.h.

Referenced by ACMP_Init().

ACMP_HysteresisLevel_TypeDef ACMP_Init_TypeDef::hysteresisLevel_0

Hysteresis when ACMP output is 0

Definition at line 635 of file em_acmp.h.

ACMP_HysteresisLevel_TypeDef ACMP_Init_TypeDef::hysteresisLevel_1

Hysteresis when ACMP output is 1

Definition at line 638 of file em_acmp.h.

ACMP_VLPInput_Typedef ACMP_Init_TypeDef::vlpInput

VLP Input source. Select between using VADIV or VBDIV as the VLP source.

Definition at line 644 of file em_acmp.h.

Referenced by ACMP_Init().

bool ACMP_Init_TypeDef::inactiveValue

Inactive value emitted by the ACMP during warmup

Definition at line 648 of file em_acmp.h.

Referenced by ACMP_Init().

bool ACMP_Init_TypeDef::enable

If true, ACMP is being enabled after configuration.

Definition at line 663 of file em_acmp.h.

Referenced by ACMP_Init().


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