Ram Register (Reg - 7); Clock Counter (Reg - 0 ~ 2); Day Counter (Reg - 3) - Epson RX-8801SA/JE Applications Manual

Real time clock module
Table of Contents

Advertisement

RX − 8801 SA / JE

8.2.5. RAM register (Reg - 7)

Address
7
• This RAM register is read/write accessible for any data in the range from 00 h to FF h.
8.2.6. Clock counter (Reg - 0 ∼ 2)
Address
0
1
2
∗)
"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
seconds.
∗ Note with caution that writing non-existent time data may interfere with normal operation of the clock counter.
1) Second counter
Address
0
• 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
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
2
• This hour counter counts from "00" hours to "01," "02," and up to 23 hours, after which it starts again from
00 hours.

8.2.7. Day counter (Reg - 3)

Address
3
∗)
"o" indicates write-protected bits. A zero is always read from these bits.
• The day (of the week) is indicated by 7 bits, bit 0 to bit 6.
The day data values are counted as: Day 01h → Day 02h → Day 04h → Day 08h → Day 10h → Day
20h → Day 40h → Day 01h → Day 02h, etc.
• The correspondence between days and count values is shown below.
WEEK
Write/Read
Write prohibit
Function
bit 7
RAM
Function
bit 7
SEC
MIN
HOUR
For example, when the "seconds" register value is "0101 1001" it indicates 59
.
Function
bit 7
SEC
Function
bit 7
MIN
Function
bit 7
HOUR
Function
bit 7
WEEK
bit 7
bit 6
bit 5
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
∗ Do not set "1" to more than one day at the same time.
Also, note with caution that any setting other than the
seven shown above should not be made as it may
interfere with normal operation.
bit 6
bit 5
bit 4
bit 6
bit 5
bit 4
40
20
10
40
20
10
20
10
bit 6
bit 5
bit 4
40
20
10
bit 6
bit 5
bit 4
40
20
10
bit 6
bit 5
bit 4
20
10
bit 6
bit 5
bit 4
6
5
4
bit 4
bit 3
bit 2
0
0
0
0
0
0
0
0
1
0
1
0
1
0
0
0
0
0
0
0
0
Page - 12
bit 3
bit 2
bit 1
bit 3
bit 2
bit 1
8
4
2
8
4
2
8
4
2
bit 3
bit 2
bit 1
8
4
2
bit 3
bit 2
bit 1
8
4
2
bit 3
bit 2
bit 1
8
4
2
bit 3
bit 2
bit 1
3
2
1
bit 1
bit 0
Day
0
Sunday
1
1
0
Monday
0
0
Tuesday
0
0
Wednesday
0
0
Thursday
0
0
Friday
0
0
Saturday
ETM26E-03
bit 0
bit 0
1
1
1
bit 0
1
bit 0
1
bit 0
1
bit 0
0
Data [h]
01 h
02 h
04 h
08 h
10 h
20 h
40 h

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rx-8801saRx-8801je

Table of Contents