Renesas M16C/6NK Laptop User Manual


 
Rev.1.10 Jul 01, 2005 page 75 of 318
REJ09B0124-0110
M16C/6N Group (M16C/6NK, M16C/6NM) 9. Interrupt
Under development
This document is under development and its contents are subject to change.
Figure 9.12 IFSR1 Register
Interrupt Request Cause Select Register 1
RW
Symbol Address After Reset
IFSR1 01DFh 00h
RW
RW
RW
RW
RW
RW
RW
RW
b7 b6 b5 b4 b3 b2 b1 b0
0 :
CAN1 successful transmission/SI/O3
(3)
1 : INT4
0 :
CAN1 successful reception/SI/O4
(5)
1 : INT5
0 : One edge
1 : Both edges
(1)
0 : One edge
1 : Both edges
(1)
0 : One edge
1 : Both edges
(1)
0 : One edge
1 : Both edges
(1)
0 : One edge
1 : Both edges
(1)
0 : One edge
1 : Both edges
(1)
IFSR10
Interrupt Request Cause
Select Bit
(2)
Interrupt Request Cause
Select Bit
(4)
IFSR11
IFSR12
IFSR13
IFSR14
IFSR15
IFSR16
IFSR17
Bit Name Function
Bit Symbol
INT0 Interrupt Polarity
Switching Bit
INT1 Interrupt Polarity
Switching Bit
INT2 Interrupt Polarity
Switching Bit
INT3 Interrupt Polarity
Switching Bit
INT4 Interrupt Polarity
Switching Bit
INT5 Interrupt Polarity
Switching Bit
NOTES:
1.When setting this bit to "1" (both edges), make sure the POL bit in the INT0IC to INT5IC register is set
to "0" (falling edge).
2.CAN1 successful transmission, SI/O3 and INT4 share the vector and interrupt control register.
When using CAN1 successful transmission or SI/O3 interrupt, set the IFSR16 bit to "0" (CAN1 successful
transmission, SI/O3). When using INT4 interrupt, set the IFSR16 bit to "1" (INT4).
3.When setting this bit to "0" (CAN1 successful transmission, SI/O3), make sure the IFSR00 bit in the
IFSR0 register is set to "0" (CAN1 successful transmission) or "1" (SI/O3).
And, make sure the POL bit in the C1TRMIC and S3IC registers are set to "0" (falling edge).
4.CAN1 successful recception, SI/O4 and INT5 share the vector and interrupt control register.
When using the CAN1 successful reception or SI/O4 interrupt, set the IFSR17 bit to "0" (CAN1 successful
reception, SI/O4). When using INT5 interrupt, set the IFSR17 bit to "1" (INT5).
5.When setting this bit to "0" (CAN1 successful reception, SI/O4), make sure the IFSR03 bit in the IFSR0
register is set to "0" (CAN1 successful reception) or "1" (SI/O4).
And, make sure the POL bit in the C1TRMIC and S4IC registers are set to "0" (falling edge).