![](/images/backgrounds/113041/113041-3921x1.png)
RX − 8564 LC
13.2.The
There are two operation modes: "level interrupt mode" whereby the operation ends after one time, and "repeated interrupt mode" whereby the operation is automatically repeated.
When either of these interrupt events occurs, the event's occurrence is indicated by the "1" value set to the TF bit and by the
13.2.1.Overview of
•The
(1)Operation mode setting (level interrupt mode or repeated interrupt mode)
(2)
(3)Setting as to whether to output (at low level) an interrupt signal from the /INT output pin after a specified amount of operation time has elapsed.
• When operation of the
(1)The TF (Timer Flag) bit value, which indicates when a
(2)When the TIE (Timer Interrupt Enable) bit value is "1", the /INT output pin status changes from
1) Overview of level interrupt mode (TI/TP bit = "0")
Once an interrupt event has occurred, the operation ends after one iteration.
∗However, if only the TF bit is cleared to zero without stopping operation of the
If an interrupt event occurs during level interrupt mode, the /INT output goes to low level. The low level output is maintained as it is until the TF bit is cleared to zero. (When TIE = "1" )
∗Example of /INT operation
| period |
TIE = " 1 " | TF = " 1 " → " 0 " |
TF = " 0 " | TF = " 0 " → " 1 " |
TE = " 0 " → | " 1 " |
2) Overview of repeated interrupt mode (TI/TP bit = "1")
After an interrupt event occurs, the operation is automatically repeated.
When an interrupt event occurs during repeated interrupt mode, /INT output goes to low level only during the tRTN period, and then it is automatically canceled and returns to
However, even after returning to
Afterward, this is repeated until
∗ Example of /INT |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
operation |
| Auto reset tim |
|
|
|
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
| |||||||||||
|
|
|
|
|
|
|
| |||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
| tRTN | ||||||||
|
|
|
|
|
|
|
|
|
| period | ||||||||
| TIE = " 1 " | TIE = " 1 " → " 0 " | ||||||||||||||||
| TF = " 0 " | TF = " 0 " → " 1 " | ||||||||||||||||
| TE = " 0 " → | " 1 " |
|
|
|
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Page − 18 |