MC9S12ZVMB Family Reference Manual Rev. 1.3NXP Semiconductor 359Chapter 10Supply Voltage Sensor - (BATSV3)10.1 IntroductionThe BATS module provides the functionality to measure the voltage of the chip supply pin VSUP.10.1.1 FeaturesThe 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 acomparator to generate a low or a high voltage interrupt to alert the MCU.10.1.2 Modes of OperationThe BATS module behaves as follows in the system power modes:1. Run modeThe 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 theassociated features if selected.2. Stop modeDuring stop mode operation the path from the VSUP pin through the resistor chain to ground isopened and the low and high voltage sense features are disabled.The content of the configuration register is unchanged.Table 10-1. Revision History TableRev. No.(Item No.)Data SectionsAffected Substantial Change(s)V01.00 15 Dec 2010 all Initial VersionV02.00 16 Mar 2011 10.3.2.110.4.2.1- added BVLS[1] to support four voltage level- moved BVHS to register bit 6V03.00 26 Apr 2011 all - removed VsenseV03.10 04 Oct 2011 10.4.2.1 and10.4.2.2- removed BSESE