![background image](http://html.mh-extra.com/html/epson/s1c31d50/s1c31d50_technical-instructions_107789145.webp)
11-6
Seiko Epson Corporation
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)
11.5.
SVD3 Interrupt and Reset
11.5.1.
SVD3 Interrupt
Setting the SVD3CTL.SVDRE[3:0] bits to a value other than 0xa allows use of the low power supply
voltage detection interrupt function.
Table 11.5.1.1 Low Power Supply Voltage Detection Interrupt Function
Interrupt
Interrupt flag
Set condition
Clear condition
Low power supply
voltage detection
SVD3INTF.SVDIF
In continuous operation mode
When the SVD3INTF.SVDDT bit is 1
In intermittent operation mode
When low power supply voltage is successively detected
the specified number of times
Writing 1
SVD3 provides the interrupt enable bit (SVD3INTE.SVDIE bit) corresponding to the interrupt flag
(SVD3INTF. SVDIF bit). An interrupt request is sent to the COU core only when the SVD3INTF.SVDIF bit is
set while the interrupt is enabled by the SVD3INTE.SVDIE bit. For more information on interrupt control,
refer to the
“Interrupt” chapte
r.
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 operation mode, and continues operating. Issuing an SVD3 reset initializes the
port assignment. However, when EXSVD
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 canceled. 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.
Summary of Contents for S1C31D50
Page 461: ...25 1 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 25 Package TQFP12 48PIN ...
Page 462: ...25 2 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP13 64PIN ...
Page 463: ...25 3 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 TQFP14 80PIN ...
Page 464: ...25 4 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP15 100PIN ...