Fujitsu FR81S User Manual
CHAPTER 24: 16-BIT FREE-RUN TIMER
5. Operation
FUJITSU SEMICONDUCTOR LIMITED
CHAPTER : 16-BIT FREE-RUN TIMER
FUJITSU SEMICONDUCTOR CONFIDENTIAL
37
5.1. Interrupt for the 16-bit Free-run Timer
Interrupt for the 16-bit free-run timer are explained.
Table 5-1 shows the interrupt control bits and interrupt factor of the 16-bit free-run timer.
Table 5-1 Interrupt Control Bits and Interrupt Factor of the 16-bit Free-run Timer
16-bit free-run timer
Compare clear
0 detection
Interrupt request
flag bit
Timer state control register
(TCCS), ICLR: bit25
Timer state control register
(TCCS), IRQZF: bit30
Interrupt request
enable bit
Timer state control register
(TCCS), ICRE: bit24
Timer state control register
(TCCS), IRQZE: bit29
Interrupt factor
The 16-bit free-run timer value
matches the compare clear register
(CPCLR).
The 16-bit free-run timer value becomes
"0000
H
".
When the value of the 16-bit free-run timer matches the compare clear register (CPCLR), ICLR: bit25 of
the timer state control register (TCCS) will be set. If interrupt requests are enabled (ICRE: bit24 of TCCS is
1) while this bit is set, an interrupt request is output to the interrupt controller.
When the timer value becomes "0000
H
", IRQZF: bit30 of the timer state control register (TCCS) will be set.
If interrupt requests are enabled (IRQZE: bit29 of TCCS is 1) while this bit is set, an interrupt request is
output to the interrupt controller.
MB91520 Series
MN705-00010-1v0-E
944