User manual
...the world's most energy friendly microcontrollers
2012-04-24 - Giant Gecko Family - d0053_Rev0.96 769
www.energymicro.com
Bit Name Reset Access Description
Enable Serial Wire Clock connection to pin. WARNING: When this pin is disabled, the device can no longer be accessed by a
debugger. A reset will set the pin back to a default state as enabled. If you disable this pin, make sure you have at least a 3 second
timeout at the start of you program code before you disable the pin. This way, the debugger will have time to halt the device after
a reset before the pin is disabled.
32.5.19 GPIO_INSENSE - Input Sense Register
Offset Bit Position
0x124
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
1
1
Access
RW
RW
Name
PRS
INT
Bit Name Reset Access Description
31:2 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
1 PRS 1 RW PRS Sense Enable
Set this bit to enable input sensing for PRS.
0 INT 1 RW Interrupt Sense Enable
Set this bit to enable input sensing for interrupts.
32.5.20 GPIO_LOCK - Configuration Lock Register
Offset Bit Position
0x128
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
0x0000
Access
RW
Name
LOCKKEY
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 LOCKKEY 0x0000 RW Configuration Lock Key
Write any other value than the unlock code to lock MODEL, MODEH, CTRL, PINLOCKN, EPISELL, EIPSELH, INSENSE and
SWDPROUTE from editing. Write the unlock code to unlock. When reading the register, bit 0 is set when the lock is enabled.
Mode Value Description
Read Operation
UNLOCKED 0 GPIO registers are unlocked
LOCKED 1 GPIO registers are locked
Write Operation
LOCK 0 Lock GPIO registers
UNLOCK 0xA534 Unlock GPIO registers