User manual

...the world's most energy friendly microcontrollers
2012-04-24 - Giant Gecko Family - d0053_Rev0.96 761
www.energymicro.com
32.5.9 GPIO_Px_PINLOCKN - Port Unlocked Pins Register
Offset Bit Position
0x020
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
0xFFFF
Access
RW
Name
PINLOCKN
Bit Name Reset Access Description
31:16 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
15:0 PINLOCKN 0xFFFF RW Unlocked Pins
Shows unlocked pins in the port. To lock pin n, clear bit n. The pin is then locked until reset.
32.5.10 GPIO_EXTIPSELL - External Interrupt Port Select Low Register
Offset Bit Position
0x100
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
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
Access
RW
RW
RW
RW
RW
RW
RW
RW
Name
EXTIPSEL7
EXTIPSEL6
EXTIPSEL5
EXTIPSEL4
EXTIPSEL3
EXTIPSEL2
EXTIPSEL1
EXTIPSEL0
Bit Name Reset Access Description
31 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
30:28 EXTIPSEL7 0x0 RW External Interrupt 7 Port Select
Select input port for external interrupt 7.
Value Mode Description
0 PORTA Port A pin 7 selected for external interrupt 7
1 PORTB Port B pin 7 selected for external interrupt 7
2 PORTC Port C pin 7 selected for external interrupt 7
3 PORTD Port D pin 7 selected for external interrupt 7
4 PORTE Port E pin 7 selected for external interrupt 7
5 PORTF Port F pin 7 selected for external interrupt 7
27 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
26:24 EXTIPSEL6 0x0 RW External Interrupt 6 Port Select
Select input port for external interrupt 6.
Value Mode Description
0 PORTA Port A pin 6 selected for external interrupt 6
1 PORTB Port B pin 6 selected for external interrupt 6
2 PORTC Port C pin 6 selected for external interrupt 6
3 PORTD Port D pin 6 selected for external interrupt 6
4 PORTE Port E pin 6 selected for external interrupt 6
5 PORTF Port F pin 6 selected for external interrupt 6