Supply Voltage Sensor - (BATSV2)
MC9S12VRP Family Reference Manual Rev. 1.3
NXP Semiconductors
429
17.3.2.1
BATS Module Enable Register (BATE)
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 17-3. BATS Module Enable Register (BATE)
Table 17-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
Summary of Contents for MC9S12VRP64
Page 16: ...MC9S12VRP Family Reference Manual Rev 1 3 16 NXP Semiconductors ...
Page 46: ...Device Overview S12VRP Series MC9S12VRP Family Reference Manual Rev 1 3 46 NXP Semiconductors ...
Page 236: ...S12S Debug Module S12DBGV2 MC9S12VRP Family Reference Manual Rev 1 3 236 NXP Semiconductors ...
Page 244: ...Interrupt Module S12SINTV1 MC9S12VRP Family Reference Manual Rev 1 3 244 NXP Semiconductors ...
Page 358: ...Timer Module TIM16B2CV3 MC9S12VRP Family Reference Manual Rev 1 3 358 NXP Semiconductors ...
Page 436: ...Supply Voltage Sensor BATSV2 MC9S12VRP Family Reference Manual Rev 1 3 436 NXP Semiconductors ...
Page 528: ...NVM Electrical Parameters MC9S12VRP Family Reference Manual Rev 1 3 528 NXP Semiconductors ...
Page 530: ...Package Information MC9S12VRP Family Reference Manual Rev 1 3 530 NXP Semiconductors ...
Page 531: ...Package Information MC9S12VRP Family Reference Manual Rev 1 3 NXP Semiconductors 531 ...
Page 532: ...Package Information MC9S12VRP Family Reference Manual Rev 1 3 532 NXP Semiconductors ...