ACMP_VBConfig_TypeDef Struct Reference
VB Configuration structure.
      
       #include <em_acmp.h>
      
     
| Data Fields | |
| ACMP_VBInput_TypeDef | input | 
| VB Voltage input source. | |
| uint32_t | div0 | 
| A divider for VB voltage input source when ACMP output is 0. | |
| uint32_t | div1 | 
| A divider for VB voltage input source when ACMP output is 1. | |
VB Configuration structure.
This structure is used to configure the VB voltage input source and its dividers.
Field Documentation
◆ input
| ACMP_VBInput_TypeDef ACMP_VBConfig_TypeDef::input | 
VB Voltage input source.
◆ 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
◆ 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