hd64338342hw Renesas Electronics Corporation., hd64338342hw Datasheet - Page 152

no-image

hd64338342hw

Manufacturer Part Number
hd64338342hw
Description
Renesas 8-bit Single-chip Microcomputer H8 Family/h8/300l Super Low Power Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 3 Exception Handling
Table 3.5
Interrupt Request
Flags Set to 1
IRR1
IWPR
Figure 3.7 shows the procedure for setting a bit in a port mode register and clearing the interrupt
request flag.
When switching a pin function, mask the interrupt before setting the bit in the port mode register.
After accessing the port mode register, execute at least one instruction (e.g., NOP), then clear the
interrupt request flag from 1 to 0. If the instruction to clear the flag is executed immediately after
the port mode register access without executing an intervening instruction, the flag will not be
cleared.
Rev. 6.00 Aug 04, 2006 page 116 of 680
REJ09B0145-0600
IRRI4
IRRI3
IRRI2
IRRI1
IRRI0
IWPF7
IWPF6
IWPF5
IWPF4
IWPF3
IWPF2
IWPF1
IWPF0
Conditions Under which Interrupt Request Flag is Set to 1
Conditions
When PMR1 bit IRQ4 is changed from 0 to 1 while pin IRQ
bit IEG4 = 0.
When PMR1 bit IRQ4 is changed from 1 to 0 while pin IRQ
bit IEG4 = 1.
When PMR1 bit IRQ3 is changed from 0 to 1 while pin IRQ
bit IEG3 = 0.
When PMR1 bit IRQ3 is changed from 1 to 0 while pin IRQ
bit IEG3 = 1.
When PMR1 bit IRQ2 is changed from 0 to 1 while pin IRQ
bit IEG2 = 0.
When PMR1 bit IRQ2 is changed from 1 to 0 while pin IRQ
bit IEG2 = 1.
When PMR1 bit IRQ1 is changed from 0 to 1 while pin IRQ
bit IEG1 = 0.
When PMR1 bit IRQ1 is changed from 1 to 0 while pin IRQ
bit IEG1 = 1.
When PMR3 bit IRQ0 is changed from 0 to 1 while pin IRQ
bit IEG0 = 0.
When PMR3 bit IRQ0 is changed from 1 to 0 while pin IRQ
bit IEG0 = 1.
When PMR5 bit WKP7 is changed from 0 to 1 while pin WKP
When PMR5 bit WKP6 is changed from 0 to 1 while pin WKP
When PMR5 bit WKP5 is changed from 0 to 1 while pin WKP
When PMR5 bit WKP4 is changed from 0 to 1 while pin WKP
When PMR5 bit WKP3 is changed from 0 to 1 while pin WKP
When PMR5 bit WKP2 is changed from 0 to 1 while pin WKP
When PMR5 bit WKP1 is changed from 0 to 1 while pin WKP
When PMR5 bit WKP0 is changed from 0 to 1 while pin WKP
4
4
3
3
2
2
1
1
0
0
is low and IEGR
is low and IEGR
is low and IEGR
is low and IEGR
is low and IEGR
is low and IEGR
is low and IEGR
is low and IEGR
is low and IEGR
is low and IEGR
7
6
5
4
3
2
1
0
is low.
is low.
is low.
is low.
is low.
is low.
is low.
is low.

Related parts for hd64338342hw