![Freescale Semiconductor MC9S12ZVM series Reference Manual Download Page 375](http://html1.mh-extra.com/html/freescale-semiconductor/mc9s12zvm-series/mc9s12zvm-series_reference-manual_2330602375.webp)
MC9S12ZVM Family Reference Manual Rev. 1.3
Freescale Semiconductor
375
Chapter 10
Supply Voltage Sensor - (BATSV3)
10.1
Introduction
The BATS module provides the functionality to measure the voltage of the chip supply pin VSUP.
10.1.1
Features
The VSUP pin can be routed via an internal divider to the internal Analog to Digital Converter.
Independent of the routing to the Analog to Digital Converter, it is possible to route this voltage to a
comparator to generate a low or a high voltage interrupt to alert the MCU.
10.1.2
Modes of Operation
The BATS module behaves as follows in the system power modes:
1. Run mode
The activation of the VSUP Level Sense Enable (BSUSE=1) or ADC connection Enable
(BSUAE=1) closes the path from VSUP pin through the resistor chain to ground and enables the
associated features if selected.
2. Stop mode
During stop mode operation the path from the VSUP pin through the resistor chain to ground is
opened and the low and high voltage sense features are disabled.
The content of the configuration register is unchanged.
Table 10-1. Revision History Table
Rev. No.
(Item No.)
Data
Sections
Affected
Substantial Change(s)
V01.00
15 Dec 2010
all
Initial Version
V02.00
16 Mar 2011
- added BVLS[1] to support four voltage level
- moved BVHS to register bit 6
V03.00
26 Apr 2011
all
- removed Vsense
V03.10
04 Oct 2011
- removed BSESE