MB90335 Series
14.3
Movement of 16-bit Reload Timer
The 16-bit reload timer setting and the counter operation status transition are
described.
■ Setting of 16-bit Reload Timer
●
Setting of internal clock mode
To operate it as an interval timer, the setting shown in Figure 14.3-1 is necessary.
bit
TMCSR0
TMRLR0
●
Setting of Event Count Mode
To operate it in the event counter mode, the setting shown in Figure 14.3-2 is necessary.
bit
15
TMCSR0
TMRLR0
DDR4
Used bit
1
Set "1".
Set the bit corresponding to using pin to "0".
CM44-10137-6E
Figure 14.3-1 Setting of Internal Clock Mode
15
14
13
12
11
−
−
−
−
CSL1 CSL0 MOD2 MOD1 MOD0 OUTE OUTL RELD INTE
Other than "11"
Setting initial value (Reload value) of Counter
Used bit
1
Set "1".
Figure 14.3-2 Setting of Event Count Mode
14
13
12
11
−
−
−
−
CSL1 CSL0 MOD2 MOD1 MOD0 OUTE OUTL RELD INTE
1
Setting initial value (Reload value) of Counter
FUJITSU MICROELECTRONICS LIMITED
10
9
8
7
6
10
9
8
7
6
1
D47
D46
CHAPTER 14 16-BIT RELOAD TIMER
14.3 Movement of 16-bit Reload Timer
5
4
3
2
1
UF CNTE TRG
1
5
4
3
2
1
UF CNTE TRG
1
D45
D44
D43
D42
D41
0
0
D40
329