RX − 8801 SA / JE
8.2.5. RAM register (Reg - 7)
| Address | Function | bit 7 | bit 6 | bit 5 | bit 4 | bit 3 | bit 2 | bit 1 | bit 0 |
|
|
|
|
|
|
|
|
|
|
|
| 7 | RAM | • | • | • | • | • | • | • | • |
| • 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 | Function | bit 7 | bit 6 | bit 5 | bit 4 | bit 3 | bit 2 | bit 1 | bit 0 |
|
|
|
|
|
|
|
|
|
|
|
| 0 | SEC | { | 40 | 20 | 10 | 8 | 4 | 2 | 1 |
| 1 | MIN | { | 40 | 20 | 10 | 8 | 4 | 2 | 1 |
| 2 | HOUR | { | { | 20 | 10 | 8 | 4 | 2 | 1 |
∗) "o" indicates
•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
|
|
| Address | Function | bit 7 | bit 6 | bit 5 | bit 4 | bit 3 | bit 2 | bit 1 | bit 0 | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 0 | 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 | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 | 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 | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 | 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. |
|
|
|
|
|
|
|
|
| |
8.2.7. Day counter (Reg - 3) |
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
| ||
| Address |
| Function | bit 7 | bit 6 | bit 5 | bit 4 | bit 3 | bit 2 | bit 1 | bit 0 | ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
|
|
| WEEK | { | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
∗) "o" indicates
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 | bit 7 | bit 6 | bit 5 | bit 4 | bit 3 | bit 2 | bit 1 | bit 0 | Day | Data [h] |
|
|
|
|
|
|
|
|
|
|
|
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | Sunday | 01 h |
| 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | Monday | 02 h |
Write/Read | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | Tuesday | 04 h |
0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | Wednesday | 08 h | |
| 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | Thursday | 10 h |
| 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | Friday | 20 h |
| 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | Saturday | 40 h |
| ∗ Do not set "1" to more than one day at the same time. |
|
| |||||||
Write prohibit | Also, note with caution that any setting other than the |
| − | − | ||||||
seven shown above should not be made as it may |
| |||||||||
|
|
|
| |||||||
| interfere with normal operation. |
|
|
|
|
|
Page - 12 |