ACMP_Init_TypeDef Struct Reference
[ACMP]

#include <em_acmp.h>

Collaboration diagram for ACMP_Init_TypeDef:
Collaboration graph
[legend]

Data Fields

bool fullBias
bool halfBias
uint32_t biasProg
bool interruptOnFallingEdge
bool interruptOnRisingEdge
ACMP_WarmTime_TypeDef warmTime
ACMP_HysteresisLevel_TypeDef hysteresisLevel
bool inactiveValue
bool lowPowerReferenceEnabled
uint32_t vddLevel
bool enable

Detailed Description

ACMP initialization structure.

Definition at line 210 of file em_acmp.h.


Field Documentation

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 222 of file em_acmp.h.

Referenced by ACMP_Init().

If true, ACMP is being enabled after configuration.

Definition at line 249 of file em_acmp.h.

Referenced by ACMP_Init().

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

Definition at line 214 of file em_acmp.h.

Referenced by ACMP_Init().

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

Definition at line 218 of file em_acmp.h.

Referenced by ACMP_Init().

Hysteresis level

Definition at line 235 of file em_acmp.h.

Referenced by ACMP_Init().

Inactive value emitted by the ACMP during warmup

Definition at line 238 of file em_acmp.h.

Referenced by ACMP_Init().

Enable setting the interrupt flag on falling edge

Definition at line 225 of file em_acmp.h.

Referenced by ACMP_Init().

Enable setting the interrupt flag on rising edge

Definition at line 228 of file em_acmp.h.

Referenced by ACMP_Init().

Low power reference enabled. This setting, if enabled, reduces the power used by the VDD and bandgap references.

Definition at line 242 of file em_acmp.h.

Referenced by ACMP_Init().

Vdd reference value. VDD_SCALED = VDD × VDDLEVEL × 50mV/3.8V. Valid values are in the range 0-63.

Definition at line 246 of file em_acmp.h.

Referenced by ACMP_Init().

Warmup time. This is measured in HFPERCLK cycles and should be about 10us in wall clock time.

Definition at line 232 of file em_acmp.h.

Referenced by ACMP_Init().


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