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

#include <em_acmp.h>

Data Fields

ACMP_VBInput_TypeDef input
 
uint32_t div0
 
uint32_t div1
 

Detailed Description

VB Configuration structure. This struct is used to configure the VB voltage input source and it's dividers.

Definition at line 751 of file em_acmp.h.

Field Documentation

ACMP_VBInput_TypeDef ACMP_VBConfig_TypeDef::input

VB Voltage input source

Definition at line 753 of file em_acmp.h.

Referenced by ACMP_VBSetup().

uint32_t ACMP_VBConfig_TypeDef::div0

Divider for VB voltage input source when ACMP output is 0. This value is used to divide the VB voltage input source by a specific value. The valid range is between 0 and 63.

VB divided = VB input * (div0 + 1) / 64

Definition at line 762 of file em_acmp.h.

Referenced by ACMP_VBSetup().

uint32_t ACMP_VBConfig_TypeDef::div1

Divider for VB voltage input source when ACMP output is 1. This value is used to divide the VB voltage input source by a specific value. The valid range is between 0 and 63.

VB divided = VB input * (div1 + 1) / 64

Definition at line 771 of file em_acmp.h.

Referenced by ACMP_VBSetup().


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