Fujitsu F2MCTM-16LX Hardware Manual page 60

16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 2 CPU
Interrupt level mask register (ILM)
The ILM register consists of three bits, indicating the CPU interrupt masking level. An interrupt request is
accepted only when the level of the interrupt is higher than that indicated by these three bits. Level 0 is the
highest priority interrupt, and level 7 is the lowest priority interrupt (see Table 2.7-1 ). Therefore, for an
interrupt to be accepted, its level value must be smaller than the current ILM value. When an interrupt is
accepted, the level value of that interrupt is set in ILM. Thus, an interrupt of the same or lower level cannot
be accepted subsequently. ILM is initialized to all zeroes by a reset. An instruction may transfer an eight-bit
immediate value to the ILM register, but only the low-order three bits of that data are used.
Table 2.7-1 Levels Indicated by the Interrupt Level Mask (ILM) Register
ILM2
ILM1
0
0
0
0
0
1
0
1
1
0
1
0
1
1
1
1
44
Figure 2.7-9 Interrupt Level Mask Register (ILM)
ILM2
Initial value
0
ILM0
Level value
0
1
0
1
0
1
0
1
ILM1
ILM0
: ILM
0
0
Acceptable interrupt level
0
1
2
Level value smaller than 1
3
Level value smaller than 2
4
Level value smaller than 3
5
Level value smaller than 4
6
Level value smaller than 5
7
Level value smaller than 6
Interrupt disabled
0 only

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90360 series

Table of Contents