Renesas H8 Series Hardware Manual page 142

8-bit single-chip microcomputer
Hide thumbs Also See for H8 Series:
Table of Contents

Advertisement

Section 3 Exception Handling
Interrupt Request
Flags Set to 1
IWPR
IWPF7
IWPF6
IWPF5
IWPF4
IWPF3
IWPF2
IWPF1
IWPF0
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
(or AEGSR). After accessing the port mode register (or AEGSR), 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
Rev. 7.00 Mar 10, 2005 page 100 of 652
REJ09B0042-0700
Conditions
When PMR5 bit WKP7 is changed from 0 to 1 while pin
WKEGS7 = 0.
When PMR5 bit WKP7 is changed from 1 to 0 while pin
WKEGS7 = 1.
When PMR5 bit WKP6 is changed from 0 to 1 while pin
WKEGS6 = 0.
When PMR5 bit WKP6 is changed from 1 to 0 while pin
WKEGS6 = 1.
When PMR5 bit WKP5 is changed from 0 to 1 while pin
WKEGS5 = 0.
When PMR5 bit WKP5 is changed from 1 to 0 while pin
WKEGS5 = 1.
When PMR5 bit WKP4 is changed from 0 to 1 while pin
WKEGS4 = 0.
When PMR5 bit WKP4 is changed from 1 to 0 while pin
WKEGS4 = 1.
When PMR5 bit WKP3 is changed from 0 to 1 while pin
WKEGS3 = 0.
When PMR5 bit WKP3 is changed from 1 to 0 while pin
WKEGS3 = 1.
When PMR5 bit WKP2 is changed from 0 to 1 while pin
WKEGS2 = 0.
When PMR5 bit WKP2 is changed from 1 to 0 while pin
WKEGS2 = 1.
When PMR5 bit WKP1 is changed from 0 to 1 while pin
WKEGS1 = 0.
When PMR5 bit WKP1 is changed from 1 to 0 while pin
WKEGS1 = 1.
When PMR5 bit WKP0 is changed from 0 to 1 while pin
WKEGS0 = 0.
When PMR5 bit WKP0 is changed from 1 to 0 while pin
WKEGS0 = 1.
is low and WEGR bit
7
W K P
is low and WEGR bit
7
W K P
is low and WEGR bit
6
W K P
is low and WEGR bit
6
W K P
is low and WEGR bit
5
W K P
is low and WEGR bit
5
W K P
is low and WEGR bit
4
W K P
is low and WEGR bit
4
W K P
is low and WEGR bit
3
W K P
is low and WEGR bit
3
W K P
is low and WEGR bit
2
W K P
is low and WEGR bit
2
W K P
is low and WEGR bit
1
W K P
is low and WEGR bit
1
W K P
is low and WEGR bit
0
W K P
is low and WEGR bit
0
W K P

Advertisement

Table of Contents
loading

Table of Contents