RX − 8564 LC
3) Down counter for
This register is used to set the default (preset) value for the counter. Any count value from 1 (01 h) to 255 (FFh) can be set
When the
∗When the
∗The preset value must be written again (when TE = "0") in order to start the
∗The status during a countdown can be checked by reading this register.
( However, since the read data is not held (the data may be changing), to obtain accurate data the countdown status should be read twice and then compared. )
4) TE bit ( Timer Enable )
This bit enables operation of the of the
TE | Data | Description | |
Write / Read | 0 | Stops | |
|
| ||
1 | Starts | ||
| |||
|
|
|
5) TF bit ( Timer Flag )
This is a flag bit that retains the result when a
If it was already cleared to zero, this value changes from "0" to "1" when an event occurs, and the new value is retained.
TF | Data |
| Description | |
|
| The TF bit is cleared to zero (to cancel the interrupt event), to prepare for the | ||
|
| next event detection. | ||
|
| Note) Even after the interrupt event has been canceled, the | ||
|
|
| function operates continuously as long as the TE bit (Timer Enable) value | |
|
|
| is "1". | |
Write | 0 | ∗ | Level interrupt mode | |
| ||||
|
| 1) Clearing the TF bit to zero cancels the | ||
|
|
| ||
|
|
| (the /INT pin goes to | |
|
|
| 2) When the TE bit value remains "1", the timer's down counter continues | |
|
|
| to count down, and when the counter value goes form 01h to 00h, the | |
|
|
| TF bit value is again changed to "1", the /INT pin goes to low level, and | |
|
|
| an event occurs. | |
|
|
| ||
| 1 | This bit is invalid after a "1" has been written to it. | ||
|
|
| ||
| 0 | |||
Read |
|
|
| |
1 | ||||
| ||||
| ∗ | Result is retained until this bit is cleared to zero | ||
|
| |||
|
|
|
|
Page − 21 |