VB Configuration structure.

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

Public Attributes#

VB Voltage input source.

uint32_t

A divider for VB voltage input source when ACMP output is 0.

uint32_t

A divider for VB voltage input source when ACMP output is 1.

Public Attribute Documentation#

input#

ACMP_VBInput_TypeDef ACMP_VBConfig_TypeDef::input

VB Voltage input source.


Definition at line 915 of file platform/emlib/inc/em_acmp.h

div0#

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 924 of file platform/emlib/inc/em_acmp.h

div1#

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 933 of file platform/emlib/inc/em_acmp.h