EFM32 Happy Gecko Software Documentation  efm32hg-doc-5.1.2
Utility Definitions

Detailed Description

Definitions used in the utility functions.

Macros

#define UTIL_SUPPLY_TYPE_AA   2
 
#define UTIL_SUPPLY_TYPE_AAA   3
 
#define UTIL_SUPPLY_TYPE_CR2032   4
 
#define UTIL_SUPPLY_TYPE_UNKNOWN   0
 
#define UTIL_SUPPLY_TYPE_USB   1
 

Macro Definition Documentation

#define UTIL_SUPPLY_TYPE_AA   2

The board powered from AA batteries

Definition at line 35 of file util.h.

#define UTIL_SUPPLY_TYPE_AAA   3

The board powered from AAA batteries

Definition at line 36 of file util.h.

Referenced by UTIL_supplyProbe().

#define UTIL_SUPPLY_TYPE_CR2032   4

The board powered from a CR2032 battery

Definition at line 37 of file util.h.

Referenced by UTIL_isLowPower(), and UTIL_supplyProbe().

#define UTIL_SUPPLY_TYPE_UNKNOWN   0

Unknown power supply type

Definition at line 33 of file util.h.

Referenced by UTIL_isLowPower(), and UTIL_supplyProbe().

#define UTIL_SUPPLY_TYPE_USB   1

The board powered from the USB connector

Definition at line 34 of file util.h.

Referenced by UTIL_supplyProbe().