11 SUPPLY VOLTAGE DETECTOR (SVD3)
S1C31D50/D51 TECHNICAL MANUAL
Seiko Epson Corporation
11-5
(Rev. 2.00)
Once the SVD3INTF.SVDIF bit is set, it will not be cleared even if the power supply voltage subsequently returns
to a value exceeding the SVD detection voltage V
SVD
/EXSVD detection voltage V
SVD_EXT
. An interrupt may occur
due to a temporary power supply voltage drop, check the power supply voltage status by reading the SVD3INTF.
SVDDT bit in the interrupt handler routine.
11.5.2 SVD3 Reset
Setting the SVD3CTL.SVDRE[3:0] bits to 0xa allows use of the SVD3 reset issuance function.
The reset issuing timing is the same as that of the SVD3INTF.SVDIF bit being set when a low voltage is detected.
After a reset has been issued, SVD3 enters continuous operation mode even if it was operating in intermittent op-
eration mode, and continues operating. Issuing an SVD3 reset initializes the port assignment. However, when EXS-
VD
n
is being detected, the input of the port for the EXSVD
n
pin is sent to SVD3 so that SVD3 will continue the
EXSVD
n
detection operation.
If the power supply voltage reverts to the normal level, the SVD3INTF.SVDDT bit goes 0 and the reset state is can-
celed. After that, SVD3 resumes operating in the operation mode set previously via the initialization routine.
During reset state, the SVD3 control bits are set as shown in Table 11.5.2.1.
Table 11.5.2.1 SVD3 Control Bits During Reset State
Control register
Control bit
Setting
SVD3CLK
DBRUN
Reset to the initial values.
CLKDIV[2:0]
CLKSRC[1:0]
SVD3CTL
VDSEL
The set value is retained.
SVDSC[1:0]
Cleared to 0. (The set value becomes invalid as SVD3
enters continuous operation mode.)
SVDC[4:0]
The set value is retained.
SVDRE[3:0]
The set value (0xa) is retained.
EXSEL
The set value is retained.
SVDMD[1:0]
Cleared to 0 to set continuous operation mode.
MODEN
The set value (1) is retained.
SVD3INTF
SVDIF
The status (1) before being reset is retained.
SVD3INTE
SVDIE
Cleared to 0.
11.6 Control Registers
SVD3 Clock Control Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
SVD3CLK
15–9 –
0x00
–
R
–
8
DBRUN
1
H0
R/WP
7
–
0
–
R
6–4 CLKDIV[2:0]
0x0
H0
R/WP
3–2 –
0x0
–
R
1–0 CLKSRC[1:0]
0x0
H0
R/WP
Bits 15–9 Reserved
Bit 8
DBRUN
This bit sets whether the SVD3 operating clock is supplied in DEBUG mode or not.
1 (R/WP): Clock supplied in DEBUG mode
0 (R/WP): No clock supplied in DEBUG mode
Bit 7
Reserved
Bits 6–4
CLKDIV[2:0]
These bits select the division ratio of the SVD3 operating clock.
Bits 3–2
Reserved
Bits 1–0
CLKSRC[1:0]
These bits select the clock source of SVD3.