RX8010
SJ
Page
−
17
ETM37E-06
Inside counter block diagram
4096Hz
Resister
Timer Cou nter 0
Timer Cou nter 1
TSTP
source
clock
selector
64Hz
1Hz
1/ 60
1/60
1Hz
1/60Hz
1/3600Hz
TST P
timer stop signal
TSTP bit
∗
C
annot read the count value that is lower than a selected source clock.
3) TE bit
(
Timer Enable
)
When TE bit is "0", the default (preset) can be checked by reading this register.
TE
Data
Description
Write
0
Stops fixed-cycle timer interrupt function.
∗
Clearing this bit to zero does not enable the /IRQ low output status to be cleared (to Hi-z).
1
Starts fixed-cycle timer interrupt function.
∗
The countdown that starts when the TE bit value changes from "0"
to "1" always begins from the
preset value.
4) TF bit
(
Timer Flag
)
This is a flag bit that retains the result when a fixed-cycle timer interrupt event is detected.
TF
Data
Description
Write
0
The TF bit is cleared to zero to prepare for the next status detection
∗
Clearing this bit to zero does not enable the /IRQ low output status to be cleared (to Hi-z).
1
This bit is invalid after a "1" has been written to it.
Read
0
−
1
Fixed-cycle timer interrupt events are detected.
(Result is retained until this bit is cleared to zero.)
5) TIE bit
(
Timer Interrupt Enable
)
This bit is used to control output of interrupt signals from the /IRQ1 or /IRQ” pin when a fixed-cycle timer
interrupt event has occurred.
TIE
Data
Description
Write
0
1) When a fixed-cycle timer interrupt event occurs, an interrupt signal is not
generated.
2) When a fixed-cycle timer interrupt event occurs, the interrupt signal is
canceled (/IRQ status changes from low to Hi-z).
1
When a fixed-cycle timer interrupt event occurs, an interrupt signal is
generated (/IRQ status changes from Hi-z to low).