Interrupt Control Register (Icr) - Hitachi SH7032 Hardware Manual

Superh risc engine
Table of Contents

Advertisement

5.3.2

Interrupt Control Register (ICR)

ICR is a 16-bit register that sets the input detection mode of external interrupt input pins NMI and
IRQ0–IRQ7, and indicates the input signal level at the NMI pin. A reset initializes ICR but
standby mode does not.
Bit:
Bit name:
Initial value:
R/W:
Bit:
Bit name:
Initial value:
R/W:
Note: * When NMI input is high: 1; when NMI input is low: 0
• Bit 15 (NMI input level (NMIL)): NMIL sets the level of the signal input at the NMI pin.
NMIL cannot be modified. The NMI input level can be read to determine the NMI pin level.
Bit 15: NMIL
0
1
• Bits 14–9 (Reserved): These bits are always read as 0. The write value should always be 0.
• Bit 8 (NMI Edge Select (NMIE)): NMIE selects whether the falling or rising edge of the
interrupt request signal at the NMI pin is sensed.
Bit 8: NMIE
0
1
• Bits 7–0 (IRQ0–IRQ7 Sense Select (IRQ0S–IRQ7S)): IRQ0–IRQ7 select whether the falling
edge or low level of the IRQ inputs is sensed at pins IRQ0–IRQ7.
Bits 7–0: IRQ0S–IRQ7S
0
1
15
14
NMIL
*
0
R
7
6
IRQ0S
IRQ1S
IRQ2S
0
0
R/W
R/W
R/W
Description
NMI input level is low
NMI input level is high
Description
Interrupt is requested on falling edge of NMI input
Interrupt is requested on rising edge of NMI input
Description
Interrupt is requested when IRQ input is low
Interrupt is requested on falling edge of IRQ input
13
12
11
0
0
0
5
4
3
IRQ3S
IRQ4S
0
0
0
R/W
R/W
10
9
NMIE
0
0
2
1
IRQ5S
IRQ6S
IRQ7S
0
0
R/W
R/W
(Initial value)
(Initial value)
8
0
R/W
0
0
R/W
75

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents