Operation At Underflow - Fujitsu F2MCTM-16LX Hardware Manual

16-bit microcontroller
Table of Contents

Advertisement

Operation at Underflow

When the start trigger is inputted, the value set in the 16-bit reload register (TMRLR) is reloaded to the 16-
bit timer register, starting decrementing in synchronization with the count clock. When the 16-bit timer
register (TMR) is decremented from "0000
• When an underflow occurs with an underflow interrupt enabled (TMCSR:INTE = 1), an underflow
interrupt is generated.
• The 16-bit reload timer operation when an underflow occurs is set by the reload select bit in the timer
control status register (TMCSR:RELD).
[One-shot mode (TMCSR: RELD=0)]
When an underflow occurs, the TMR count operation is stopped. When the next start trigger is inputted, the
value set in the TMRLR is reloaded in the TMR, starting the TMR count operation.
• In the one-shot mode, during the TMR count operation, a High-level or Low-level rectangular wave is
outputted from the TOT pin.
• The pin output level select bit in the timer control status register (TMCSR:OUTL) can be set to select
the level (High or Low) of the rectangular wave.
[Reload mode (TMCSR: RELD=1)]
When an underflow occurs, the value set in the TMRLR is reloaded to the TMR, continuing the TMR count
operation.
• In the reload mode, a toggle wave inverting the output level of the TOT pin is outputted each time an
underflow occurs during the TMR count operation.
• The pin output level select bit in the timer control status register (TMCSR:OUTL) can be set to select
the level (High or Low) of a toggle wave at starting the reload timer.
• The 16-bit reload timer can be used as an interval timer by using an underflow interrupt.
Table 14.1-2 Interval Time for the 16-bit Reload Timer
Count clock
Internal clock mode
Event count mode
T: Machine cycle
The values in interval time and the parenthesized values are provided when the machine clock operates at 24 MHz.
" to "FFFF
", an underflow occurs.
H
H
Count clock period
1
T(0.083 µs)
2
T(0.33 µs)
3
2
5
T(1.3 µs)
2
3
2
T or more
CHAPTER 14 16-BIT RELOAD TIMER
Interval time
0.083 µs to 5.46 ms
0.33 µs to 21.8 ms
1.3 µs to 87.4 ms
0.33 µs or more
239

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90360 series

Table of Contents