EFR32 Mighty Gecko 1 Software Documentation  efr32mg1-doc-5.1.2
ACMP_VAConfig_TypeDef Struct Reference

Detailed Description

VA Configuration structure. This struct is used to configure the VA voltage input source and it's dividers.

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

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

Referenced by ACMP_VASetup().

uint32_t ACMP_VAConfig_TypeDef::div1

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

Referenced by ACMP_VASetup().

ACMP_VAInput_TypeDef ACMP_VAConfig_TypeDef::input

VA voltage input source

Definition at line 784 of file em_acmp.h.

Referenced by ACMP_VASetup().


The documentation for this struct was generated from the following file: