RA8900 SA / CE
Page - 8
ETM44E-01
8.2. Details of Registers
8.2.1. Clock counter (SEC - HOUR )
Address
Function
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
00, 10
SEC
40
20
10
8
4
2
1
01, 11
MIN
40
20
10
8
4
2
1
02, 12
HOUR
20
10
8
4
2
1
)
"o" indicates write-protected bits. A zero is always read from these bits.
The clock counter counts seconds, minutes, and hours.
The data format is BCD format
.
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 clock counter.
1) Second counter
Address
Function
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
00, 10
SEC
40
20
10
8
4
2
1
This second counter counts from "00" to "01," "02," and up to 59 seconds, after which it starts again from
00 seconds.
2) Minute counter
Address
Function
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
01, 11
MIN
40
20
10
8
4
2
1
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
02, 12
HOUR
20
10
8
4
2
1
This hour counter counts from "00" hours to "01," "02," and up to 23 hours, after which it starts again from
00 hours.