RX − 8801 SA / JE
8.3.The
When an interrupt event is generated, the /INT pin goes to low level and "1" is set to the TF bit to report that an event has occurred. (However, when a
| ∗ Example of |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
| /INT operation |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7.8ms |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| (Max.) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||||||
|
|
|
| TIE = " 1 " |
|
|
| period |
|
|
|
| TIE = " 1 " → " 0 " | ||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||
|
|
|
| TE = " 0 " → " 1 " |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||
8.3.1. Diagram of |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| " 1 " | |||||||||||||||
| TE bit | (1) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||||||
|
|
| Operation of |
|
| (7) |
|
|
|
|
| ||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| " 0 " | |||||||||||||
" 1 " |
|
|
|
|
|
|
|
|
|
|
|
| (9) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TIE bit |
| (5) |
|
|
|
| |
/INT output |
|
| (6) |
|
|
| tRTN |
TF bit |
| (3) | (4) |
|
| ||
|
| period | period |
Event occurs | (1) | • • • 001 h → 000 h | (2) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| " 1 " |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| " 0 " |
|
|
|
|
|
|
|
|
|
|
|
|
| (7) |
|
|
| Hi - z | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
| ∗ Even when the TE bit is | " L " | ||||
|
|
|
|
|
|
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
| tRTN |
|
| tRTN |
|
|
| tRTN |
|
| cleared to zero, /INT |
| ||||||
(8) |
|
|
|
|
|
|
|
|
|
|
|
|
| remains low during the |
| |||
|
|
|
|
|
|
|
|
|
|
|
|
| tRTN time. |
| ||||
|
| ∗ Even when the TF |
|
|
|
|
|
|
|
|
|
|
|
|
| " 1 " | ||
|
| bit is cleared to zero, |
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
|
| the /INT status does |
|
|
|
|
|
|
|
|
|
|
|
|
| " 0 " | ||
|
| not change. |
|
|
|
|
|
|
|
|
|
|
|
|
|
periodperiod
(7)
∗When the TE bit value changes from "0" to "1" the
The counter always starts counting down from the preset value when the TE value changes from "0" to "1".
RTC internal operation
Write operation
(1)When a "1" is written to the TE bit, the
(2)A
∗After the interrupt event that occurs when the count value changes from 001h to 000h, the counter automatically reloads the preset value and again starts to count down. (Repeated operation)
(3)When a
(5)If the TIE bit = "1" when a
∗If the TIE bit = "0" when a
(6)Output from the /INT pin remains low during the tRTN period following each event, after which it is automatically cleared to
(7)When a "0" is written to the TE bit, the
∗When /INT = low, the
(8)As long as /INT = low, the /INT pin status does not change when the TF bit value changes from "1" to "0".
(9)When /INT = low, the /INT pin status changes from low to
Page - 14 |