Fujitsu MB90460 Series Hardware Manual page 349

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 14 MULTI-FUNCTIONAL TIMER
■ Interrupt Mask Function
The number of times of Interrupt source can be masked by setting TCCSH:MSI2 to MSI0. MSI2 to MSI0
configure a 3-bit reload down counter, which reloads when its count value reaches "000
also be loaded by writing directly to MSI2 to MSI0. The mask count equals the value set in MSI2 to MSI0
and there is no interrupt source will be masked when MSI2 to MSI0 equals "000
The interrupt source depends on the count mode (TCCSL:MODE). In up-count mode, only compare clear
interrupt can be masked, zero detect interrupt is generated in every zero detection. In up-down count mode,
only zero detect interrupt can be masked, compare clear interrupt is generated in every compare clear.
Note:
Software clear (TCCSL:SCLR=1) will not generate zero detection.
Figure 14.6-8 Compare Clear Interrupt masked in Up-count Mode
Counter value
FFFF
H
BFFF
H
7FFF
H
3FFF
H
0000
H
Reset
Zero detect interrupt
TCCSH:MSI2:0=000
Compare
clear
TCCSH:MSI2:0=001
interrupt
TCCSH:MSI2:0=010
* Both zero detect interrupt and compare clear interrupt are software cleared
330
1st
Timer starts
Software
clear
B
B
B
Compare clear match
3rd
2nd
4th
". Count value can
B
"
B
5th
6th
Time

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents