Interrupt Control Register Functions - Fujitsu F2MC-16LX Hardware Manual

16-bit microcontroller mb90330 series
Hide thumbs Also See for F2MC-16LX:
Table of Contents

Advertisement

CHAPTER 3 INTERRUPT
3.3.2

Interrupt Control Register Functions

Each of the interrupt control register (ICR00 to ICR15) consists of the following bits,
which have four functions.
• Interrupt level set bit (IL2 to IL0)
2
• EI
OS enable bit (ISE)
2
• EI
OS channel select bits (ICS3 to ICS0)
2
• EI
OS status bit (S1, S0)
Configuration of Interrupt Control Register (ICR)
Figure 3.3-3 shows the bit configuration of the interrupt control register (ICR).
Writing to Interrupt control register (ICR)
Reading to Interrupt control register (ICR)
MSB
: The most significant bit
LSB
: The least significant bit
: Undefiend
Reference:
• ICS3 to ICS0 bit are enabled only when starting the extended intelligent I/O service (EI
2
EI
OS is to be activated, set the ISE bit to "1". Otherwise, set it to "0". When you do not start
2
EI
OS, you can not set ICS3 to ICS0.
• ICS1 and ICS0 are enabled only for write. S1 and S0 are enabled only for read.
Note:
Reading the upper rank two-bit is an irregular value.
58
Figure 3.3-3 Configuration of Interrupt Control Register (ICR)
Address
MSB
0000B0
H
ICS3 ICS2 ICS1 ICS0 ISE
to
0000BF
H
MSB
Address
0000B0
H
to
0000BF
H
IL2
IL1
S1
S0
ISE
IL2
IL1
Initial value
LSB
IL0
00000111
B
Initial value
LSB
IL0
--000111
B
2
OS). If

Advertisement

Table of Contents
loading

Table of Contents