Renesas H8/38024 Hardware Manual page 127

8-bit single-chip microcomputer h8 family/h8/300l super low power series
Hide thumbs Also See for H8/38024:
Table of Contents

Advertisement

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
executed immediately after the port mode register (or AEGSR) access without executing an
intervening instruction, the flag will not be cleared.
Conditions
When PMR5 bit WKP7 is changed from 0 to 1 while pin WKP
WKEGS7 = 0.
When PMR5 bit WKP7 is changed from 1 to 0 while pin WKP
WKEGS7 = 1.
When PMR5 bit WKP6 is changed from 0 to 1 while pin WKP
WKEGS6 = 0.
When PMR5 bit WKP6 is changed from 1 to 0 while pin WKP
WKEGS6 = 1.
When PMR5 bit WKP5 is changed from 0 to 1 while pin WKP
WKEGS5 = 0.
When PMR5 bit WKP5 is changed from 1 to 0 while pin WKP
WKEGS5 = 1.
When PMR5 bit WKP4 is changed from 0 to 1 while pin WKP
WKEGS4 = 0.
When PMR5 bit WKP4 is changed from 1 to 0 while pin WKP
WKEGS4 = 1.
When PMR5 bit WKP3 is changed from 0 to 1 while pin WKP
WKEGS3 = 0.
When PMR5 bit WKP3 is changed from 1 to 0 while pin WKP
WKEGS3 = 1.
When PMR5 bit WKP2 is changed from 0 to 1 while pin WKP
WKEGS2 = 0.
When PMR5 bit WKP2 is changed from 1 to 0 while pin WKP
WKEGS2 = 1.
When PMR5 bit WKP1 is changed from 0 to 1 while pin WKP
WKEGS1 = 0.
When PMR5 bit WKP1 is changed from 1 to 0 while pin WKP
WKEGS1 = 1.
When PMR5 bit WKP0 is changed from 0 to 1 while pin WKP
WKEGS0 = 0.
When PMR5 bit WKP0 is changed from 1 to 0 while pin WKP
WKEGS0 = 1.
is low and WEGR bit
7
is low and WEGR bit
7
is low and WEGR bit
6
is low and WEGR bit
6
is low and WEGR bit
5
is low and WEGR bit
5
is low and WEGR bit
4
is low and WEGR bit
4
is low and WEGR bit
3
is low and WEGR bit
3
is low and WEGR bit
2
is low and WEGR bit
2
is low and WEGR bit
1
is low and WEGR bit
1
is low and WEGR bit
0
is low and WEGR bit
0
Rev. 6.00, 08/04, page 97 of 628

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/38024f-ztatH8/38124H8/38024s

Table of Contents