Epson RX-8581JE Applications Manual page 14

Real time clock module
Table of Contents

Advertisement

RX - 8581 SA
JE
/
8.2.6. Clock counter (Reg - 0
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.
When data was written to seconds counter, the internal divider is reset from 2048Hz to 1Hz.
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
20h
Day 40h
The correspondence between days and count values is shown below.
WEEK
Write/Read
Write prohibit
NB
/
2)
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
!
Day 01h
Day 02h, etc.
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
0
1
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
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
Day 02h
Day 04h
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 - 11
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
Day 08h
Day 10h
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
bit 0
1
1
1
bit 0
1
bit 0
1
bit 0
1
bit 0
0
Day
Data [h]
01 h
02 h
04 h
08 h
10 h
20 h
40 h
MQ372-02

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rx-8581nbRx-8581sa

Table of Contents