RX
-
8025
SA
/
NB
Page - 7 ETM10E-04
8.2.2. Time counter (Reg 0 to 2)
Address
Function bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
0
Seconds
S40 S20 S10 S8 S4 S2 S1
1
Minutes
M40 M20 M10 M8 M4 M2 M1
2
Hours
H20
P, /A
H10 H8 H4 H2 H1
• The time counter counts seconds, minutes, and hours.
• The data format is BCD format
(except during 12-hour mode)
.
For example, when the "seconds" register value is
"0101 1001" it indicates 59 seconds.
∗ Note with caution that writing non-existent time data may interfere with normal operation of the time counter.
1) Second counter
Address
Function bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
0
Seconds
S40 S20 S10 S8 S4 S2 S1
• This second counter counts from "00" to "01," "02," and up to 59 seconds, after which it starts again from
00 seconds.
• When a value is written to the second counter, the internal counter is also reset to zero in less than one
second.
2) Minute counter
Address
Function bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
1 Minutes
M40 M20 M10 M8 M4 M2 M1
• This minute counter counts from "00" to "01," "02," and up to 59 minutes, after which it starts again from 00
minutes.
3) Hour counter
Address
Function bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
2 Hours
H20
P , /A
H10 H8 H4 H2 H1
• The hour counter counts hours, and its clock mode differs according to the value of its /12,24 bit.
• During 24-hour clock operation, bit 5 functions as H20 (two-digit hour display). During 12-hour clock
operation, bit 5 functions as an AM/PM indicator ("0" indicates AM and "1" indicates PM).
/12,24 bit Description
Address 2 (Hours register) data [h] during 24-hour and
12-hour clock operation modes
0
12-hour
clock
24-hour clock 12-hour clock 24-hour clock 12-hour clock
00 12 ( AM 12 ) 12 32 ( PM 12 )
01 01 ( AM 01 ) 13 21 ( PM 01 )
02 02 ( AM 02 ) 14 22 ( PM 02 )
03 03 ( AM 03 ) 15 23 ( PM 03 )
04 04 ( AM 04 ) 16 24 ( PM 04 )
05 05 ( AM 05 ) 17 25 ( PM 05 )
06 06 ( AM 06 ) 18 26 ( PM 06 )
07 07 ( AM 07 ) 19 27 ( PM 07 )
08 08 ( AM 08 ) 20 28 ( PM 08 )
09 09 ( AM 09 ) 21 29 ( PM 09 )
10 10 ( AM 10 ) 22 30 ( PM 10 )
11 11 ( AM 11 ) 23 31 ( PM 11 )
1
24-hour
clock