R01UH0136EJ0210 Rev.2.10
Page 66 of 800
Jul 31, 2012
M16C/64A Group
7. Voltage Detector
7.2.4
Voltage Detector 1 Level Select Register (VD1LS)
Set the PRC3 bit in the PRCR register to 1 (write enabled) before rewriting this register. Also, rewrite
this register when the VW12E bit in the VWCE register is 1.
This register does not change at watchdog timer reset, oscillation stop detect reset, or software reset.
The register value is affected by the VW12E bit in the VWCE register. Table 7.3 lists VD1LS Register
Value. After setting a value to this register, by setting the VW12E bit first to 0 and then to 1, the register
will revert to the previous setting.
VD1LS3 to VD1LS0 (Vdet1 select bit) (b3 to b0)
When using voltage detector 1, the reset value cannot be used as is. Only set the values shown in the
register.
When not using detector 1, the reset values can remain as is.
Table 7.3
VD1LS Register Value
VW12E Bit
VD1LS Register Value
0
0000 1010b
1
Value set in the register (0000 0111b when no value is set)
b7
0
0
0
0
b6 b5 b4
b1
b2
b3
Voltage Detector 1 Level Select Register
Symbol
VD1LS
Address
0028h
Bit Symbol
Bit Name
RW
Reset Value
0000 1010b (Hardware reset, power-on reset, voltage
monitor 0 reset, voltage monitor 1 reset,
voltage monitor 2 reset)
b0
Function
VD1LS2
VD1LS0
Vdet1 select bit
b3 b2 b1 b0
0 1 1 0 : Vdet1_6
1 0 1 1 : Vdet1_B
1 1 1 1 : Vdet1_F
Only set the values listed above.
VD1LS1
VD1LS3
—
(b7-b4)
Reserved bits
Set to 0.
RW
RW
RW
RW
RW
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...