Chapter 22 Supply Voltage Sensor - (BATSV2)
S12ZVHY/S12ZVHL Family Reference Manual Rev. 1.05
Freescale Semiconductor
745
22.3.2.1
BATS Module Enable Register (BATE)
NOTE
Module Base + 0x0000
Access: User read/write
(1)
1. Read: Anytime
Write: Anytime
7
6
5
4
3
2
1
0
R
0
BVHS
BVLS[1:0]
BSUAE
BSUSE
BSEAE
BSESE
W
Reset
0
0
0
0
0
0
0
1
= Unimplemented
Figure 22-3. BATS Module Enable Register (BATE)
Table 22-2. BATE Field Description
Field
Description
6
BVHS
BATS Voltage High Select
— This bit selects the trigger level for the Voltage Level High Condition (BVHC).
0 Voltage level V
HBI1
is selected
1 Voltage level V
HBI2
is selected
5:4
BVLS[1:0]
BATS Voltage Low Select
— This bit selects the trigger level for the Voltage Level Low Condition (BVLC).
00 Voltage level V
LBI1
is selected
01 Voltage level V
LBI2
is selected
10 Voltage level V
LBI3
is selected
11 Voltage level V
LBI4
is selected
3
BSUAE
BATS VSUP ADC Connection Enable
— This bit connects the VSUP pin through the resistor chain to ground
and connects the ADC channel to the divided down voltage. This bit can be set only if the BSEAE bit is cleared.
0 ADC Channel is disconnected
1 ADC Channel is connected
2
BSUSE
BATS VSUP Level Sense Enable
— This bit connects the VSUP pin through the resistor chain to ground and
enables the Voltage Level Sense features measuring BVLC and BVHC. This bit can be set only if the BSESE bit
is cleared.
0 Level Sense features disabled
1 Level Sense features enabled
1
BSEAE
BATS VSENSE ADC Connection Enable
— This bit connects the VSENSE pin through the resistor chain to
ground and connects the ADC channel to divided down voltage. Setting this bit will clear bit BSUAE .
0 ADC Channel is disconnected
1 ADC Channel is connected
0
BSESE
BATS VSENSE Level Sense Enable
— This bit connects the VSENSE pin through the resistor chain to ground
and enables the Voltage Level Sense features measuring BVLC and BVHC.Setting this bit will clear bit BSUSE
0 Level Sense features disabled
1 Level Sense features enabled