English
Language : 

M32C80 Datasheet, PDF (121/352 Pages) Renesas Technology Corp – 16/32-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M32C/80 SERIES
M32C/80 Group
10. Interrupts
10.11 Intelligent I/O Interrupt
The intelligent I/O interrupt is assigned to software interrupt numbers 44 to 48.
When using the intelligent I/O interrupt, set the IRLT bit in the IIOiIE register (i = 0 to 4) to "1" (interrupt
request for interrupt used).
Various interrupt requests cause the intelligent I/O interrupt to occur. When an interrupt request is gen-
erated with each intelligent I/O or CAN functions, the corresponding bit in the IIOiIR register is set to "1"
(interrupt requested). When the corresponding bit in the IIOiIE register is set to "1" (interrupt enabled),
the IR bit in the corresponding IIOiIC register is set to "1" (interrupt requested).
After the IR bit setting changes "0" to "1", the IR bit remains set to "1" when a bit in the IIOiIR register is
set to "1" by another interrupt request and the corresponding bit in the IIOiIE register is set to "1".
Bits in the IIOiIR register are not set to "0" automatically, even if an interrupt is acknowledged. Set each
bit to "0" by program. If these bit settings are left "1", all generated interrupt requests are ignored.
Figure 10.13 shows a block diagram of the intelligent I/O interrupt. Figure 10.14 shows the IIOiIR
register. Figure 10.15 shows the IIOiIE register.
Interrupt Request(1)
Interrupt Request(1)
IIOiIR Register(2)
Bit 1
Bit 2
IRLT Bit in the
IIOiIE Register
0
1
0
1
Intelligent I/O Interrupt i Request
0
Bit 7
Interrupt Request(1)
1
IIOiIE Register(3)
Bit 1
Bit 2
Bit 7
NOTES:
1. See Figures 10.14 and 10.15 about bits 7 to 1 in the
IIOiIR register and bits 1 to 7 in the IIOiIE register.
2. Bits 7 to 1 in the IIOiIR register are not set to "0"
automatically even if an interrupt request is
generated. Set to "0" by program.
3. Do not change the IRLT bit and the interrupt enable bit
in the IIOiIE register simultaneously.
i= 0 to 4
Figure 10.13 Intelligent I/O Interrupt
Rev. 1.00 Nov. 01, 2005 Page 102 of 330
REJ09B0271-0100