English
Language : 

HD64336900G Datasheet, PDF (81/408 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Tiny Series
3.4 Interrupt Exception Handling
3.4.1 External Interrupts
As external interrupts, there are NMI, IRQ3, IRQ0, and WKP5 interrupts.
NMI Interrupt: NMI interrupt is requested by input falling edge to the NMI pin. NMI is the
highest interrupt, and can always be accepted without depending on the I bit value in CCR.
IRQ3 and IRQ0 Interrupts: IRQ3 and IRQ0 interrupts are requested by input signals to the
IRQ3 and IRQ0 pins. These interrupts are given different vector addresses, and are detected
individually by either rising edge sensing or falling edge sensing, depending on the settings of the
IEG3 and IEG0 bits in IEGR1.
When the IRQ3 and IRQ0 pins are designated for interrupt input in PMR1 and the designated
signal edge is input, the corresponding bit in IRR1 is set to 1, requesting the CPU of an interrupt.
These interrupts can be masked by setting the IEN3 and IEN0 bits in IENR1.
WKP Interrupt: WKP interrupt is requested by an input signal to the WKP5 pin. This interrupt is
detected by either rising edge sensing or falling edge sensing, depending on the setting of the
WPEG5 bit in IEGR2.
When the WKP5 pin is designated for interrupt input in PMR5 and the designated signal edge is
input, the corresponding bit in IWPR is set to 1, requesting the CPU of an interrupt. This interrupt
can be masked by setting the IENWP bit in IENR1.
Rev. 1.00, 11/03, page 53 of 376