Register Table - Epson RTC-4573 Manual

Serial rtc with alarm and timer
Table of Contents

Advertisement

n

Register Table

Address
0
1
2
3
4
5
6
7
Minutes Alarm
8
Hours Alarm
9
Week Alarm
A
Day Alarm
B
FOUT control
C
Timer interrupt control
D
Count Down Timer
E
Control 1
F
Control 2
1.1 Timekeeping/calendar registers (register 0 to register 6)
· The data in these registers is BCD format. For example, "0101 1001" represents 59 seconds. In addition, the
"*" mark in the register table means that the register is readable and writable, and can be used as RAM. Time is
kept in the 24-hour format.
· Writing to a bit marked with an asterisk ("*") is permitted; such bits can be used as RAM. When the alarm and
timer functions are not used, registers 7 to A can be used as 8-bit memory registers, and registers C and D can
be used as 7-bit memory registers.
· Year register and leap years
A leap year is detected by dividing the two BCD digits of the year register by four; if the remainder is zero, the
year is a leap year. Therefore, leap years can be automatically determined whether the year is numbered
according to the western calendar or the Japanese calendar (year of Heisei).
· Day of the week
The day of the week register uses 7 bits, from 0 to 6; the meanings of the bits are shown in the table below. Do
not set more than one bit to "1" at any one time.
bit 6
0
0
0
0
0
0
1
· fos ( OSC Flag )
This flag uses it for a monitor of battery listing degradation with the binary digit which that oscillation stopped is
set at. Oscillation stopping shows "1", and it is cleared by writing in "0". But fo flag can't write in "0" when
oscillation stopped. And fo can write in "1", but don't write in it. Other binary digit (HOLD,STOP,RESET) doesn't
receive affect even in case of "1".
· fr ( READ Flag )
It is the binary digit that turn into "1" when CE was input, and carry occurred during "H" for 1 second. The distinction
that carry to a figure rose during (CE input ="H" during readout of register in an indicator by this for 1 second is
possible. When fr was "1", I need to read register in all indicators once again.
Function
bit7
Sec
fos
Min
fr
Hour
fr
Week
fr
Day
fr
Month
fr
Year
80
AE
AE
AE
AE
FE
TE
128
*
*
bit 5
bit 4
bit 3
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
0
0
0
0
bit6
bit5
bit4
40
20
10
40
20
10
*
20
10
6
5
4
*
20
10
*
*
10
40
20
10
40
20
10
*
20
10
6
5
4
*
20
10
*
FD4
FD3
*
TD1
TD0
64
32
16
*
*
TI/TP
TEST
STOP RESET HOLD
bit 2
bit 1
bit 0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
Page-5
bit3
bit2
bit1
8
4
2
8
4
2
8
4
2
3
2
1
8
4
2
8
4
2
8
4
2
8
4
2
8
4
2
3
2
1
8
4
2
*
FD2
FD1
*
*
*
8
4
2
AF
TF
AIE
*
*
day of week
1
Sunday
0
Monday
Tuesday
0
Wednesday
0
Thursday
0
0
Friday
0
Saturday
bit0
1
1
1
0
1
1
1
1
1
0
1
FD0
*
1
TIE
*
Aug.1998

Advertisement

Table of Contents
loading

Table of Contents