Interrupt Control Register 1 (Icr1) - Hitachi SH7709S Hardware Manual

Superh risc engine
Table of Contents

Advertisement

6.3.3

Interrupt Control Register 1 (ICR1)

ICR1 is a 16-bit register that specifies the detection mode for external interrupt input pins IRQ0 to
IRQ5 individually: rising edge, falling edge, or low level. This register is initialized to H'4000 by a
power-on reset or manual reset, but is not initialized in standby mode.
Bit:
MAI
Initial value:
R/W:
R/W
Bit:
IRQ31S IRQ30S IRQ21S IRQ20S IRQ11S IRQ10S IRQ01S IRQ00S
Initial value:
R/W:
R/W
Bit 15—Mask All Interrupts (MAI): When set to 1, all interrupt requests are masked while a
low level is being input to the NMI pin. Masks NMI interrupts in standby mode.
Bit 15: MAI
Description
0
All interrupt requests are not masked when NMI pin is low level
1
All interrupt requests are masked when NMI pin is low level
Bit 14—Interrupt Request Level Detect (IRQLVL): Selects whether the IRQ3–IRQ0 pins are
used as four independent interrupt pins or as 15-level interrupt pins encoded as IRL3–IRL0.
Bit 14: IRQLVL Description
0
Used as four independent interrupt request pins IRQ3–IRQ0
Used as 15-level interrupt pins encoded as IRL3–IRL0
1
Bit 13—BL Bit Mask (BLMSK): Specifies whether NMI interrupts are masked when the BL bit
in the SR register is 1.
Bit 13: BLMSK Description
0
NMI interrupts are masked when BL bit is 1
1
NMI interrupts are accepted regardless of BL bit setting
15
14
13
IRQLVL BLMSK IRLSEN IRQ51S IRQ50S IRQ41S IRQ40S
0
1
0
R/W
R/W
7
6
5
0
0
0
R/W
R/W
12
11
10
0
0
0
RW
R/W
R/W
4
3
2
0
0
0
R/W
R/W
R/W
9
8
0
0
R/W
R/W
1
0
0
0
R/W
R/W
(Initial value)
(Initial value)
(Initial value)
137

Advertisement

Table of Contents
loading

Table of Contents