EFR32 Flex Gecko 12 Software Documentation  efr32fg12-doc-5.1.2
ACMP_VBConfig_TypeDef Struct Reference

Detailed Description

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

Definition at line 816 of file em_acmp.h.

#include <em_acmp.h>

Data Fields

uint32_t div0
 
uint32_t div1
 
ACMP_VBInput_TypeDef input
 

Field Documentation

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

Referenced by ACMP_VBSetup().

ACMP_VBInput_TypeDef ACMP_VBConfig_TypeDef::input

VB Voltage input source

Definition at line 818 of file em_acmp.h.

Referenced by ACMP_VBSetup().


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