Datasheet
Section 3 Exception Handling
Rev. 6.00 Aug 04, 2006 page 106 of 680
REJ09B0145-0600
6. Wakeup Interrupt Request Register (IWPR)
Bit
Initial value
Read/Write
7
IWPF7
0
R/(W)
*
6
IWPF6
0
R/(W)
*
5
IWPF5
0
R/(W)
*
4
IWPF4
0
R/(W)
*
3
IWPF3
0
R/(W)
*
0
IWPF0
0
R/(W)
*
2
IWPF2
0
R/(W)
*
1
IWPF1
0
R/(W)
*
Note: * All bits can only be written with 0, for flag clearing.
IWPR is an 8-bit read/write register containing wakeup interrupt request flags. When one of pins
WKP
7
to WKP
0
is designated for wakeup input and a rising or falling edge is input at that pin, the
corresponding flag in IWPR is set to 1. A flag is not cleared automatically when the
corresponding interrupt is accepted. Flags must be cleared by writing 0.
Bits 7 to 0: Wakeup interrupt request flags (IWPF7 to IWPF0)
Bit n
IWPFn Description
0 Clearing condition:
When IWPFn= 1, it is cleared by writing 0
(initial value)
1 Setting condition:
When pin WKPn is designated for wakeup input and a rising or falling edge is input
at that pin
(n = 7 to 0)
7. Wakeup Edge Select Register (WEGR)
Bit
Initial value
Read/Write
7
WKEGS7
0
R/W
6
WKEGS6
0
R/W
5
WKEGS5
0
R/W
4
WKEGS4
0
R/W
3
WKEGS3
0
R/W
0
WKEGS0
0
R/W
2
WKEGS2
0
R/W
1
WKEGS1
0
R/W
WEGR is an 8-bit read/write register that specifies rising or falling edge sensing for pins WKPn.
WEGR is initialized to H'00 by a reset.










