Explanation Of Operation Of 16-Bit Reload Timer; Setting Of 16-Bit Reload Timer - Fujitsu F2MCTM-16LX Hardware Manual

16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 14 16-BIT RELOAD TIMER
14.5

Explanation of Operation of 16-bit Reload Timer

This section explains the setting of the 16-bit reload timer and the operation state of the
counter.

Setting of 16-bit Reload Timer

Setting of internal clock mode
Counting the internal clock requires the setting shown in Figure 14.5-1 .
bit15
TMCSR
TMRLR
: Used bit
: Set "1".
1
Setting of event count mode
Inputting an external event to operate the 16-bit reload timer requires the setting shown in Figure 14.5-2 .
bit15 14
TMCSR
TMRLR
Set the bit of DDR (port direction register) corresponding to the pin to be used as TIN pin to "0".
: Used bit
1 : Set "1".
252
Figure 14.5-1 Setting of Internal Clock Mode
14
13
12
11
10
CSL1 CSL0 MOD2 MOD1
Other than "11
"
B
Set the reload value to 16-bit timer register
Figure 14.5-2 Setting of Event Count Mode
13
12
11
10
CSL1 CSL0 MOD2 MOD1
1
1
Set the reload value to 16-bit timer register
9
8
7
6
5
MOD0
OUTE
OUTL
RELD INTE UF CNTE TRG
9
8
7
6
5
MOD0
OUTE
OUTL
RELD INTE UF CNTE TRG
4
3
2
1
bit0
1
4
3
2
1
bit0
1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90360 series

Table of Contents