r8a77850anbg Renesas Electronics Corporation., r8a77850anbg Datasheet - Page 375

no-image

r8a77850anbg

Manufacturer Part Number
r8a77850anbg
Description
Renesas 32-bit Risc Microcomputer Superh? Risc Engine Family
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
r8a77850anbgV
Manufacturer:
Renesas Electronics America
Quantity:
10 000
10.7.3
To clear the interrupt request retained in the INTC, follow the procedure below.
(1)
(2)
(a)
(b) ICR0.LVLMODE = 1
The INTC does not retain the interrupt source even if IRQ interrupts are detected at level detection
or IRL interrupt requests are detected.
Clearing Interrupt Request Independent from ICR0.LVLMODE Setting
Clearing Interrupt Request Dependent on ICR0.LVLMODE Setting
ICR0.LVLMODE = 0
⎯ Clearing IRQ interrupt requests at edge detection
⎯ Clearing IRL interrupt requests
⎯ Clearing IRQ interrupt requests at level detection
Clearing IRQ and IRL Interrupt Requests
To clear the interrupt requests IRQ7 to IRQ0 setting edge detection, read the IR7 to IR0
bits corresponding to INTREQ as 1 and write 0 to the bits. The IRQ interrupt request
being detected cannot be cleared even if 1 is written to the corresponding bit in
INTMSK0.
To clear the IRL interrupt requests from the IRQ/IRL[3:0] pins, write 1 to the IM10 bit
in INTMSK1. To clear the IRL interrupt requests from the IRQ/IRL[7:4] pins, write 1 to
the IM11 bit in INTMSK1. The IRL interrupt request being detected cannot be cleared
even if masking is performed on INTMSK2 by the level.
To clear the IRQ7 to IRQ0 interrupt request setting level detection, write 1 to the
corresponding IM07 to IM00 bits in INTMSK0. The IRQ interrupt request being
detected cannot be cleared even if 0 is written to the corresponding bit in INTPRI. The
IRQ interrupt request being detected can be checked by reading from INTREQ.
Rev.1.00 Jan. 10, 2008 Page 345 of 1658
10. Interrupt Controller (INTC)
REJ09B0261-0100

Related parts for r8a77850anbg