HD6417660 RENESAS [Renesas Technology Corp], HD6417660 Datasheet - Page 246

no-image

HD6417660

Manufacturer Part Number
HD6417660
Description
Renesas 32-Bit RISC Microcomputer
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
8.3.5
IRR0 is an 8-bit register that indicates interrupt requests from external input pins IRQ7, IRQ4* to
IRQ0.
Note: * In this LSI, IRQ7 and IRQ1 are used specific to internal module and cannot function as
Notes: 1. Bits 6 to 5 are reserved bits. These bits are always read as undefined value. The write
8.3.6
IMR0, IMR1, IMR4 to IMR6, and IMR9 are 8-bit readable/writable registers that mask the IRQ
and on-chip peripheral module interrupts. When an interrupt source is masked, interrupt requests
may be mistakenly detected, depending on the operation state of the IRQ pins and on-chip
peripheral modules. To prevent this, set IMR0, IMR1, IMR4 to IMR6, and IMR9 while no
interrupts are set to be generated, and then read the new settings from these registers.
Table 8.3 shows the relationship between IMR and each interrupt source.
Rev. 1.00, 02/04, page 208 of 804
Bit
7
6*
5*
4
3
2
1
0
1
1
2. The IRQ7R, IRQ4R to IRQ0R bits are cleared to 0 after the IRQE bit in the interrupt
Interrupt Request Register 0 (IRR0)
Interrupt Mask Registers 0, 1, 4 to 6, and 9 (IMR0, IMR1, IMR4 to IMR6, and
IMR9)
Bit Name
IRQ7R*
IRQ4R*
IRQ3R*
IRQ2R*
IRQ1R*
IRQ0R*
external pins.
value should always be 0. If 1 is written to the bits, correct operation cannot be
guaranteed.
control register 1 (ICR1) is cleared to 0 in the initialization routine after reset.
2
2
2
2
2
2
Initial
Value
0
0
0
0
0
0
0
0
R/W
R/W
R
R
R/W
R/W
R/W
R/W
R/W
Description
IRQn Interrupt Request
Indicates whether there is interrupt request input to the
IRQn pin. When edge-detection mode is set for IRQn,
an interrupt request is cleared by writing 0 to the
IRQnR bit after reading IRQnR = 1.
When level-detection mode is set for IRQn, these bits
indicate whether an interrupt request is input. The
interrupt request is set/cleared by only 1/0 input to the
IRQn pin.
IRQnR
0: No interrupt request input to IRQn pin
1: Interrupt request input to IRQn pin
Legend: n = 0 to 4, 7

Related parts for HD6417660