English
Language : 

M16C29 Datasheet, PDF (100/499 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/Tiny SERIES
M16C/29 Group
9. Interrupts
Interrupt Control Register(2)
Symbol
C01WKIC
C0RECIC
C0TRMIC
ICOC0IC
ICOC1IC, IICIC(3)
BTIC, SCLDAIC(3)
BCNIC
DM0IC, DM1IC
C01ERRIC
ADIC, KUPIC(3)
S0TIC to S2TIC
b
b4 b3 b2 b1 b0
S0RIC to S2RIC
TA0IC to TA4IC
TB0IC to TB2IC
Address
004116
004216
004316
004516
004616
004716
004A16
004B16, 004C16
004D16
004E16
005116, 005316, 004F16
005216, 005416, 005016
005516 to 005916
005A16 to 005C16
After reset
XXXXX0002
XXXXX0002
XXXXX0002
XXXXX0002
XXXXX0002
XXXXX0002
XXXXX0002
XXXXX0002
XXXXX0002
XXXXX0002
XXXXX0002
XXXXX0002
XXXXX0002
XXXXX0002
Bit Symbol
Bit Name
Function
RW
ILVL0
Interrupt priority level
select bit
b2 b1 b0
RW
0 0 0 : Level 0 (interrupt disabled)
0 0 1 : Level 1
ILVL1
0 1 0 : Level 2
0 1 1 : Level 3
RW
1 0 0 : Level 4
1 0 1 : Level 5
ILVL2
1 1 0 : Level 6
1 1 1 : Level 7
RW
IR
Interrupt request bit
0: Interrupt not requested
1: Interrupt requested
RW(1)
(b7-b4)
Nothing is assigned. If necessary, set to 0.
When read, the contents are undefined
NOTES:
1. This bit can only be reset by writing 0 (Do not write 1).
2. To rewrite the interrupt control registers, do so at a point that does not generate the interrupt request for that register.
For details, refer to 22. 4 Interrupts.
3. Use the IFSR2A register to select.
Symbol
Address
After reset
INT3IC
b
b4 b3 b2 b1 b0
S4IC, INT5IC
004416
004816
XX00X0002
XX00X0002
0
S3IC, INT4IC
INT0IC to INT2IC
004916
005D16 to 005F16
XX00X0002
XX00X0002
Bit Symbol
Bit Name
Function
RW
ILVL0
Interrupt priority level
select bit
b2 b1 b0
0 0 0 : Level 0 (interrupt disabled)
RW
0 0 1 : Level 1
ILVL1
0 1 0 : Level 2
0 1 1 : Level 3
1 0 0 : Level 4
RW
1 0 1 : Level 5
ILVL2
1 1 0 : Level 6
1 1 1 : Level 7
RW
IR
Interrupt request bit
POL
Polarity select bit
0: Interrupt not requested
1: Interrupt requested
0: Selects falling edge (3, 4)
1: Selects rising edge
RW(1)
RW
(b5)
Reserved bit
Set to 0
RW
(b7-b6)
Nothing is assigned. If necessary, set to 0.
When read, the contents are undefined
NOTES:
1. This bit can only be reset by writing 0 (Do not write 1).
2. To rewrite the interrupt control register, do so at a point that does not generate the interrupt request for that
register. For details, refer to 22.4 Interrupts.
3. If the IFSRi bit in the IFSR register (i = 0 to 5) is 1 (both edges), set the POL bit in the INTiIC register to 0
(falling edge).
4. Set the POL bit in register S3IC or S4IC to 0 (falling edge) when the IFSR6 bit in the IFSR register is set to 0
(SI/O3 selected) or IFSR7 bit in the IFSR register to 0 (SI/O4 selected), respectively.
Figure 9.3 Interrupt Control Registers
C01WKIC, 0RECI,C0TRMIC, OC0I,CO1IC, IC,BTIC,SLDAIC,BNIC,DM0IC,DM1IC, 01ERIC,ADIC,KUPIC,S0TICtoS2TIC,S0RICtoS2RIC,TA0ICtoTA4IC,TB0ICtoTB2IC,NT3IC,S4IC,NT5IC,S31C,INT4IC,NT0ICtoINT2ICRegister
Rev. 1.12 Mar.30, 2007
REJ09B0101-0112
page 76 of 458