User manual

...the world's most energy friendly microcontrollers
2012-04-24 - Giant Gecko Family - d0053_Rev0.96 771
www.energymicro.com
Bit Name Reset Access Description
Value Mode Description
0x01 A0 Enable em4 wakeup on pin A0
0x02 A6 Enable em4 wakeup on pin A6
0x04 C9 Enable em4 wakeup on pin C9
0x08 F1 Enable em4 wakeup on pin F1
0x10 F2 Enable em4 wakeup on pin F2
0x20 E13 Enable em4 wakeup on pin E13
32.5.24 GPIO_EM4WUPOL - EM4 Wake-up Polarity Register
Offset Bit Position
0x138
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reset
0x00
Access
RW
Name
EM4WUPOL
Bit Name Reset Access Description
31:6 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
5:0 EM4WUPOL 0x00 RW EM4 Wake-up Polarity
Write bit n to 1 for high wake-up request. Write bit n to 0 for low wake-up request
Value Mode Description
0x01 A0 Determines polarity on pin A0
0x02 A6 Determines polarity on pin A6
0x04 C9 Determines polarity on pin C9
0x08 F1 Determines polarity on pin F1
0x10 F2 Determines polarity on pin F2
0x20 E13 Determines polarity on pin E13
32.5.25 GPIO_EM4WUCAUSE - EM4 Wake-up Cause Register
Offset Bit Position
0x13C
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reset
0x00
Access
R
Name
EM4WUCAUSE
Bit Name Reset Access Description
31:6 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
5:0 EM4WUCAUSE 0x00 R EM4 wake-up cause
Bit n indicates which pin the wake-up request occurd.