hd64338023s Renesas Electronics Corporation., hd64338023s Datasheet - Page 142

no-image

hd64338023s

Manufacturer Part Number
hd64338023s
Description
Renesas 8-bit Single-chip Microcomputer Super Low Power Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 3 Exception Handling
Interrupt Request
Flags Set to 1
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
(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
IWPF7
IWPF6
IWPF5
IWPF4
IWPF3
IWPF2
IWPF1
IWPF0
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.
W K P
W K P
W K P
W K P
W K P
W K P
W K P
W K P
W K P
W K P
W K P
W K P
W K P
W K P
W K P
W K P
7
7
6
6
5
5
4
4
3
3
2
2
1
1
0
0
is low and WEGR bit
is low and WEGR bit
is low and WEGR bit
is low and WEGR bit
is low and WEGR bit
is low and WEGR bit
is low and WEGR bit
is low and WEGR bit
is low and WEGR bit
is low and WEGR bit
is low and WEGR bit
is low and WEGR bit
is low and WEGR bit
is low and WEGR bit
is low and WEGR bit
is low and WEGR bit

Related parts for hd64338023s