112
EPSON
E0C88832/88862 TECHNICAL MANUAL
5 PERIPHERAL CIRCUITS AND THEIR OPERATION (SVD Circuit)
SVDON: 00FF12H•D4
Controls the turning ON/OFF of the continuous
sampling mode.
When "1" is written: Continuous sampling ON
When "0" is written: Continuous sampling OFF
When "1" is read:
BUSY
When "0" is read:
READY
The continuous sampling mode goes ON when "1"
is written to SVDON and goes OFF, when "0" is
written.
In the ON status, sampling of the supply voltage is
done continuously in 7.8 msec cycles and the
detection result is latched to SVD0–SVD3.
SVDON can be read, and "1" indicates SVD circuit
operation (BUSY) and "0" indicates standby
(READY).
At initial reset and in the SLEEP status, SVDON is
set to "0" (continuous sampling OFF/READY).
SVDSP: 00FF12H•D5
Controls the turning ON/OFF of the 1/4 Hz auto-
sampling mode.
When "1" is written: Auto-sampling ON
When "0" is written: Auto-sampling OFF
Reading:
Valid
The 1/4 Hz auto-sampling mode goes ON when "1"
is written to SVDSP and goes OFF, when "0" is
written.
In the ON status, sampling is done in every 4
seconds and "1" is read from SVDON during the
actual sampling period (7.8 msec).
At initial reset and in the SLEEP status, SVDSP is
set to "0" (auto-sampling OFF).
SVD0–SVD3: 00FF12H•D0–D3
The detection result of the SVD is set.
The reading data correspond to the detection levels
as shown in Table 5.13.3.2 and the data is main-
tained until the next sampling.
Table 5.13.3.2 Supply voltage detection results
For the correspondence between the detection level
and the supply voltage, see "7 ELECTRICAL
CHARACTERISTICS".
The initial value at initial reset is set according to
the supply voltage detected at first sampling by
hardware. Data of this bit is undefined until this
sampling is completed.
5.13.4 Programming notes
(1) To reduce current consumption, turn the SVD
circuit OFF (SVDON = SVDSP = "0") when it is
not necessary.
(2) When executing an SLP instruction while the
SVD circuit is operating, the stop operation of
the OSC1 oscillation circuit is kept waiting until
the sampling is completed. The two bits of
SVDON and SVDSP are automatically reset to
"0" by hardware while waiting for completion of
sampling.
SVD3
SVD0
Detection level
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
Level 15
Level 14
Level 13
Level 12
Level 11
Level 10
Level 9
Level 8
Level 7
Level 6
Level 5
Level 4
Level 3
Level 2
Level 1
Level 0
SVD1
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
SVD2
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
Summary of Contents for 0C88832
Page 6: ......