Fujitsu MB90895 Series Hardware Manual page 289

16 bit, controller manual
Table of Contents

Advertisement

I 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 operation 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 signal input to the TIN pin should be at least 4 T
(T: machine cycle).
Figure 8.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 1T time from trigger input to loading data of reload register.
Figure 8.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 1T time from trigger input to loading data of reload register.
Reload
-1
FFFF
0000
H
data
Activating trigger input wait
Reload
Reload
-1
0000
H
data
data
T
Reload
-1
0000
H
data
Reload
-1
-1
0000
H
data
CHAPTER 8 16-bit reload timer
FFFF
H
H
Reload
-1
0000
H
data
271

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lx

Table of Contents