Fujitsu F2MCTM-16LX Hardware Manual page 277

16-bit microcontroller
Table of Contents

Advertisement

Operation in Event Count Mode
The operation of the 16-bit reload timer is enabled by setting the timer operation enable bit in the timer
control status register (TMCSR:CNTE) to 1. When the software trigger bit in the timer control status
register (TMCSR:TRG) is set to 1, the 16-bit reload timer is started. 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), starting
the TMR count operation. After the 16-bit reload timer is started, the edge of the external event clock input
to the TIN pin is detected to perform the TMR count operation.
• By setting the operating mode select bits in the timer control status register (TMCSR:MOD2 to MOD0),
the detected edge can be selected from the rising edge, falling edge, and both edges.
Note:
The level width of the external event clock to be inputted to the TIN pin should be 4 T (T: machine
cycles) or more.
Figure 14.5-10 Count Operation in Event Count Mode (One-shot Mode)
TIN pin
Counter
Data load signal
UF bit
CNTE bit
TRG bit
TOT pin
T : Machine cycle
* : It takes 1 T time to load data of reload register from trigger input.
Figure 14.5-11 Count Operation in Event Count Mode (Reload Mode)
TIN pin
Counter
Data load signal
UF bit
CNTE bit
TRG bit
TOT pin
T : Machine cycle
* : It takes 1 T time to load data of reload register from trigger input.
Rel o ad data
-1
0000
FFFF
H
T
*
Start trigger input wait
Rel o ad data
-1
0000
Rel o ad data
H
T
*
CHAPTER 14 16-BIT RELOAD TIMER
Rel o ad data
-1
0000
H
-1
0000
Rel o ad data
-1
H
FFFF
H
H
0000
Rel o ad data
-1
H
261

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90360 series

Table of Contents