871
Preliminary User’s Manual U17566EE1V2UM00
Chapter 27 Voltage Comparator
The microcontroller has two instances of a Voltage Comparator.
Note
Throughout this chapter, the individual instances of the Voltage Comparator
are identified by “n”, for example INTVCn for the generated interrupt signal.
27.1 Overview
The Voltage Comparator compares an external voltage V
CMPn
at pin VCMPn
and the internal reference voltage V
LVI
and generates an interrupt if
V
CMPn
< V
LVI
.
The comparison is mainly used to identify voltage drops of the external power
supply. The CPU has then the possibility to reduce its own power consumption.
By this it can avoid that its own power supply is dropping below the operating
conditions.
Features summary
The Voltage Comparator has the following special features:
• Comparison of an external voltage with the internal reference voltage
• Can be completely switched off (in order to achieve zero stand-by current)
• Shares the reference voltage supply with the power regulators
• Delivers status information to the CPU:
– The compare result can be read by the CPU
– An interrupt can be generated on falling edge, rising edge, or both edges
of external supply voltage
– Each Voltage Comparator generates a separate interrupt INTVCn
• Can operate in STOP mode.
Note
For details on the voltage levels refer to the Electrical Target Specification.
electronic components distributor