ACMP_VAConfig_TypeDef Struct ReferenceEMLIB > ACMP

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

Definition at line 874 of file em_acmp.h .

#include < em_acmp.h >

Data Fields

uint32_t div0
uint32_t div1
ACMP_VAInput_TypeDef input

Field Documentation

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

Referenced by ACMP_VASetup() .

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

Referenced by ACMP_VASetup() .

ACMP_VAInput_TypeDef ACMP_VAConfig_TypeDef::input

VA voltage input source

Definition at line 875 of file em_acmp.h .

Referenced by ACMP_VASetup() .


The documentation for this struct was generated from the following file:
  • C:/cygwin/home/caamunds/work/super/platform/emlib/inc/ em_acmp.h