Chapter 22 Supply Voltage Sensor - (BATSV2)
S12ZVHY/S12ZVHL Family Reference Manual Rev. 1.05
Freescale Semiconductor
747
22.3.2.2
BATS Module Status Register (BATSR
)
Figure 22-5. BATS Voltage Sensing
Module Base + 0x0001
Access: User read only
(1)
1. Read: Anytime
Write: Never
7
6
5
4
3
2
1
0
R
0
0
0
0
0
0
BVHC
BVLC
W
Reset
0
0
0
0
0
0
0
0
= Unimplemented
Figure 22-4. BATS Module Status Register (BATSR)
Table 22-3. BATSR - Register Field Descriptions
Field
Description
1
BVHC
BATS Voltage Sense High Condition Bit
— This status bit indicates that a high voltage at VSENSE or VSUP,
depending on selection, is present.
0 V
measured
V
HBI_A
(rising edge) or V
measured
V
HBI_D
(falling edge)
1 V
measured
V
HBI_A
(rising edge) or V
measured
V
HBI_D
(falling edge)
0
BVLC
BATS Voltage Sense Low Condition Bit
— This status bit indicates that a low voltage at VSENSE or VSUP,
depending on selection, is present.
0 V
measured
V
LBI_A
(falling edge) or V
measured
V
LBI_D
(rising edge)
1 V
measured
V
LBI_A
(falling edge) or V
measured
V
LBI_D
(rising edge)
t
V
V
LBI_A
V
LBI_D
V
HBI_A
V
HBI_D