Datasheet

CHAPTER 9 REAL-TIME COUNTER
User’s Manual U18698EJ1V0UD
273
(13) Watch error correction register (SUBCUD)
This register is used to correct the count value of the sub-count register (RSUBC).
SUBCUD can be set by an 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 9-14. Format of Watch Error Correction Register (SUBCUD)
Address: FF82H After reset: 00H R/W
Symbol 7 6 5 4 3 2 1 0
SUBCUD DEV F6 F5 F4 F3 F2 F1 F0
DEV Setting of watch error correction timing
0 Corrects watch error when the second digits are at 00, 20, or 40.
1 Corrects watch error only when the second digits are at 00.
F6 Setting of watch error correction method
0 Increases by {(F5, F4, F3, F2, F1, F0) – 1} × 2.
1 Decreases by {(/F5, /F4, /F3, /F2, /F1, /F0) + 1} × 2.
When (F6, F5, F4, F3, F2, F1, F0) = (*, 0, 0, 0, 0, 0, *), the watch error is not corrected.
/F5 to /F0 are the inverted values of the corresponding bits (000011 when 111100).
(14) Alarm minute register (ALARMWM)
This register is used to set minutes of alarm.
ALARMWM can be set by an 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Caution Set a decimal value of 00 to 59 to this register in BCD code. If a value outside the range is
set, the alarm is not detected.
Figure 9-15. Format of Alarm Minute Register (ALARMWM)
Address: FF86H After reset: 00H R/W
Symbol 7 6 5 4 3 2 1 0
ALARMWM 0 WM40 WM20 WM10 WM8 WM4 WM2 WM1