English
Language : 

EFM32WG Datasheet, PDF (672/834 Pages) List of Unclassifed Manufacturers – The EFM32WG Wonder Gecko is the ideal choice for demanding 8-, 16-, and 32-bit energy sensitive applications.
...the world's most energy friendly microcontrollers
27 VCMP - Voltage Comparator
0123 4
VDD
VCMP
VDD > X ?
VDD < X ?
GND
In t er r u p t s
What?
Quick Facts
The Voltage Supply Comparator (VCMP)
monitors the input voltage supply and
generates software interrupts on events using
as little as 100 nA.
Why?
The VCMP can be used for simple power
supply monitoring, e.g. for a battery level
indicator.
How?
The scaled power supply is compared to a
programmable reference voltage, and an
interrupt can be generated when the supply
is higher or lower than the reference. The
VCMP can also be duty-cycled by software to
further reduce the energy consumption.
27.1 Introduction
The Voltage Supply Comparator is used to monitor the supply voltage from software. An interrupt can
be generated when the supply falls below or rises above a programmable threshold.
Note
Note that VCMP comes in addition to the Power-on Reset and Brown-out Detector
peripherals, that both generate reset signals when the voltage supply is insufficient for
reliable operation. VCMP does not generate reset, only interrupt. Also note that the ADC is
capable of sampling the input voltage supply.
27.2 Features
• Voltage supply monitoring
• Scalable VDD in 64 steps selectable as positive comparator input
• Internal 1.25 V bandgap reference
• Low power mode for internal VDD and bandgap references
• Selectable hysteresis
• 0 or ±20 mV
• Selectable response time
• Asynchronous interrupt generation on selectable edges
• Rising edge
• Falling edge
• Rising and Falling edges
• Operational in EM0-EM3
• Comparator output direct on PRS
• Configurable output when inactive to avoid unwanted interrupts
2013-05-08 - Wonder Gecko Family - d0233_Rev0.50
672
www.energymicro.com