Details Of Registers; Clock Counter (Sec - Hour) - Epson RA8804 CE Applications Manual

Real time clock module
Table of Contents

Advertisement

RA8804 CE

8.2. Details of Registers

8.2.1. Clock counter (SEC - HOUR)

Address
Function
00
SEC
01
MIN
02
HOUR
 "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
00
SEC
This second counter counts from "00" to "01", "02", and up to 59 seconds, after which it starts again from
00 seconds.
When written data to a second register, less than a Second counter (512 Hz from 2 Hz) is cleared to zero.
When more highly precise time synchronization is needed, RESET bit is most suitable. When 60
seconds were written to a second register, it returns to 00 second in next update. This special update is
the same as plus-adjustment of leap second. This behavior is useful in the adjustments of Leap
seconds.
2) Minute counter
Address
Function
01
MIN
 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
02
HOUR
 This hour counter counts from "00" hours to "01", "02""o indicates write-protected bits. A zero is always
read from these bits.
bit 7
bit 6
bit 5
40
20
40
20
20
bit 7
bit 6
bit 5
40
20
bit 7
bit 6
bit 5
40
20
bit 7
bit 6
bit 5
20
Page - 8
bit 4
bit 3
bit 2
10
8
4
10
8
4
10
8
4
bit 4
bit 3
bit 2
10
8
4
bit 4
bit 3
bit 2
10
8
4
bit 4
bit 3
bit 2
10
8
4
bit 1
bit 0
2
1
2
1
2
1
bit 1
bit 0
2
1
bit 1
bit 0
2
1
bit 1
bit 0
2
1
ETM60E-02

Advertisement

Table of Contents
loading

Table of Contents