(Int7Ic, Int6Ic, Int3Ic, S4Ic/Int5Ic, S3Ic/Int4Ic, Int0Ic To Int2Ic) - Renesas M16C/64A Series User Manual

Table of Contents

Advertisement

M16C/64A Group
14.2.3
Interrupt Control Register 2

(INT7IC, INT6IC, INT3IC, S4IC/INT5IC, S3IC/INT4IC, INT0IC to INT2IC)

Interrupt Control Register 2
b7 b6 b5 b4
b3
b2
b1
0
Symbol
INT7IC
INT6IC
INT3IC
S4IC/INT5IC
S3IC/INT4IC
Rewrite these registers at a point where an interrupt request for the corresponding register is not
generated.
When multiple interrupt sources share the register, select an interrupt source in the IFSR register.
ILVL2-ILVL0 (Interrupt priority level select bit) (b2-b0)
In memory expansion or microprocessor mode, set bits ILVL2 to ILVL0 in registers INT6IC and INT7IC
to 000b (interrupts disabled).
When the BYTE pin is low in memory expansion or microprocessor mode, set bits ILVL2 to ILVL0 in
registers INT3IC, INT4IC, and INT5IC to 000b (interrupts disabled).
IR (Interrupt request bit) (b3)
Do not set the IR bit to 1 when it is 0.
POL (Polarity select bit) (b4)
When the IFSRi bit in the IFSR register is 1 (both edges), set the POL bit in the INTiIC register to 0
(falling edge) (i = 0 to 5). When bits IFSR30 and IFSR31 in the IFSR3A register are 1 (both edges), set
the POL bit in registers INT6IC and INT7IC to 0 (falling edge).
Set the POL bit in the S3IC or S4IC register to 0 (falling edge) when the IFSR6 bit in the IFSR register
is 0 (SI/O3 selected) or IFSR7 bit is 0 (SI/O4 selected), respectively.
R01UH0136EJ0210 Rev.2.10
Jul 31, 2012
b0
Symbol
Refer to the table below for symbols and addresses.
Bit Symbol
Bit Name
ILVL0
Interrupt priority level select
ILVL1
bit
ILVL2
IR
Interrupt request bit
POL
Polarity select bit
Reserved bit
(b5)
No register bits. If necessary, set to 0. The read value is undefined.
(b7-b6)
Address
0042h
0043h
0044h
0048h
0049h
Address
Function
b2
b1 b0
0
0
0 : Level 0 (interrupt disabled)
0
0
1 : Level 1
0
1
0 : Level 2
0
1
1 : Level 3
1
0
0 : Level 4
1
0
1 : Level 5
1
1
0 : Level 6
1
1
1 : Level 7
0: Interrupt not requested
1: Interrupt requested
0 : Select falling edge
1 : Select rising edge
Set to 0
Symbol
INT0IC
INT1IC
INT2IC
14. Interrupts
Reset Value
XX00 X000b
RW
RW
RW
RW
RW
RW
RW
Address
005Dh
005Eh
005Fh
Page 196 of 800

Advertisement

Table of Contents
loading

Table of Contents