VCMP_Init_TypeDef Struct Reference
[VCMP]

#include <em_vcmp.h>

Collaboration diagram for VCMP_Init_TypeDef:
Collaboration graph
[legend]

Data Fields

bool halfBias
int biasProg
bool irqFalling
bool irqRising
VCMP_WarmTime_TypeDef warmup
VCMP_Hysteresis_TypeDef hyst
int inactive
bool lowPowerRef
int triggerLevel
bool enable

Detailed Description

VCMP Initialization structure

Definition at line 97 of file em_vcmp.h.


Field Documentation

BIAS current configuration, depends on halfBias setting, above, see reference manual

Definition at line 103 of file em_vcmp.h.

Referenced by VCMP_Init().

Enable VCMP after configuration

Definition at line 120 of file em_vcmp.h.

Referenced by VCMP_Init().

If set to true, will reduce by half the bias current

Definition at line 100 of file em_vcmp.h.

Referenced by VCMP_Init().

Hysteresis configuration

Definition at line 111 of file em_vcmp.h.

Referenced by VCMP_Init().

Output value when comparator is inactive, should be 0 or 1

Definition at line 113 of file em_vcmp.h.

Referenced by VCMP_Init().

Enable interrupt for falling edge

Definition at line 105 of file em_vcmp.h.

Referenced by VCMP_Init().

Enable interrupt for rising edge

Definition at line 107 of file em_vcmp.h.

Referenced by VCMP_Init().

Enable low power mode for VDD and bandgap reference

Definition at line 115 of file em_vcmp.h.

Referenced by VCMP_Init().

Trigger level, according to formula VDD Trigger Level = 1.667V + 0.034V x triggerLevel

Definition at line 118 of file em_vcmp.h.

Referenced by VCMP_Init().

Warm-up time in clock cycles

Definition at line 109 of file em_vcmp.h.

Referenced by VCMP_Init().


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