CHAPTER 14 16-BIT RELOAD TIMER
[External gate input mode (MOD2 to MOD0="1x0
When the external gate input mode is set, start the 16-bit reload timer by setting the software trigger bit in
the timer control status register (TMCSR:TRG) to 1. When the 16-bit reload timer is started, the value set
in the 16-bit reload register (TMRLR) is reloaded to the 16-bit timer register (TMR).
• After the 16-bit reload timer is started, the count operation of the TMR is performed while the set gate
input level is inputted to the TIN pin.
• The gate input level (High or Low) can be selected by setting the operating mode select bits in the timer
control status register (TMCSR:MOD2 to MOD0).
Figure 14.5-8 Count Operation in External Gate Input Mode (One-shot Mode)
Counter clock
Counter
Data load signal
UF bit
CNTE bit
TRG bit
TIN pin
TOT pin
T : Machine cycle
* : It takes 1 T time to load data of reload register from trigger input.
Figure 14.5-9 Count Operation in External Gate Input Mode (Reload Mode)
Counter clock
Counter
Data load signal
UF bit
CNTE bit
TRG bit
TIN pin
TOT pin
T : Machine cycle
* : It takes 2T to 2.5T time to load data of reload register from trigger input.
258
Reload data
-1
T
*
Reload data
-1
-1
*
T
", "1x1
")]
B
B
-1
0000
FFFF
Rel o ad data
H
H
T
*
Start trigger input wait
0000
Rel o ad data
-1
-1
H
-1
-1
-1
Need help?
Do you have a question about the F2MCTM-16LX and is the answer not in the manual?