VA Configuration structure.

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

Public Attributes#

VA voltage input source.

uint32_t

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

uint32_t

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

Public Attribute Documentation#

input#

ACMP_VAInput_TypeDef ACMP_VAConfig_TypeDef::input

VA voltage input source.


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

div0#

uint32_t ACMP_VAConfig_TypeDef::div0

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

This value is used to divide the VA voltage input source by a specific value. The valid range is between 0 and 63.

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


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

div1#

uint32_t ACMP_VAConfig_TypeDef::div1

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

This value is used to divide the VA voltage input source by a specific value. The valid range is between 0 and 63.

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


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