ACMP_VBConfig_TypeDef Struct ReferenceEMLIB > ACMP

VB Configuration structure. This structure is used to configure the VB voltage input source and its dividers.

Definition at line 907 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

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

Referenced by ACMP_VBSetup() .

uint32_t ACMP_VBConfig_TypeDef::div1

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

Referenced by ACMP_VBSetup() .

ACMP_VBInput_TypeDef ACMP_VBConfig_TypeDef::input

VB Voltage input source

Definition at line 908 of file em_acmp.h .

Referenced by ACMP_VBSetup() .


The documentation for this struct was generated from the following file:
  • C:/repos/super_h1/platform/emlib/inc/ em_acmp.h