RX − 8564 LC
3)Overview of(1)Changing the TE (Timer Enable) bit value from "0" to "1" starts operation of the
∗Before starting the
(Note) Note with caution that the preset value must be set or reset to enable correct operation.
(2)When the TE bit = "1", the timer's down counter (Timer Register/Reg − 0F[h]) counts down once per cycle (countdown cycle) of the source clock that was selected via the TD1 and TD0 bits (Timer countdown interval select bits 1 and 0).
∗Timer cycle (Period) = Source clock ⋅ value (preset value) set to timer's down counter
(3)The following processing is executed after an event is triggered by the countdown reaching a count value of "0".
∗1) The TF (Timer Flag) bit value becomes "1".∗2) When the TIE (Timer Interrupt Enable) bit value becomes "1", the /INT output pin's status changes from
∗After the /INT output pin's status changes from
∗3) The timer's down counter automatically returns to the preset value and then the countdown operation is repeated.
∗When the TE bit value is "1", countdown operation of the timer's down counter will be repeated regardless of the operation mode or of any event that has occurred.
(4)When the TE bit is cleared from "1" to 0", the
∗1) The TF bit value remains "1" until it is cleared to zero (even if the
∗2) The timer's down counter value becomes invalid once the
∗When the
∗The preset value must be written again (when TE = "0") in order to start the
∗Operation example during repeated interrupt mode and when preset value is "5" (05h).
|
|
|
|
|
|
|
|
|
|
| " 1 " |
|
|
| (Timer function is ON ) | ||||||||||||
( Timer Enable ) |
|
|
|
|
|
| |||||||
Timer's down counter |
| 5 4 3 2 1 | 0 | 4 3 2 1 | 0 | 4 3 2 1 | |||||||
(Timer Register) |
|
|
|
|
|
| 5 | 5 | |||||
| Source |
|
|
|
| ||||||||
interrupt |
|
|
|
|
| ||||||||
Internal event occurs at |
| clock |
|
|
|
| |||||||
|
|
|
|
|
| ||||||||
( | part |
| Period |
| Period |
| Period |
/INT output
(Open drain output)
∗When the
" 0 "
(Timer function is OFF )
0
5 4 3
∗Countdown is stopped
∗ Count value and preset value are invalid.
∗ When TIE = "1"
output is at low level only during tRTN period.
Page − 19 |