User manual

...the world's most energy friendly microcontrollers
2012-04-24 - Giant Gecko Family - d0053_Rev0.96 768
www.energymicro.com
32.5.18 GPIO_ROUTE - I/O Routing Register
Offset Bit Position
0x120
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
0
0
0
0
0
0x0
0
1
1
Access
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
Name
ETMLOCATION
TD3PEN
TD2PEN
TD1PEN
TD0PEN
TCLKPEN
SWLOCATION
SWOPEN
SWDIOPEN
SWCLKPEN
Bit Name Reset Access Description
31:26 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
25:24 ETMLOCATION 0x0 RW I/O Location
Decides the location of the TCLK and TD pins.
Value Mode Description
0 LOC0 Location 0
1 LOC1 Location 1
2 LOC2 Location 2
3 LOC3 Location 3
23:17 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
16 TD3PEN 0 RW ETM Trace Data Pin Enable
Enable ETM Trace Data Output 3 connection to pin.
15 TD2PEN 0 RW ETM Trace Data Pin Enable
Enable ETM Trace Data Output 2 connection to pin.
14 TD1PEN 0 RW ETM Trace Data Pin Enable
Enable ETM Trace Data Output 1 connection to pin.
13 TD0PEN 0 RW ETM Trace Data Pin Enable
Enable ETM Trace Data Output 0 connection to pin.
12 TCLKPEN 0 RW ETM Trace Clock Pin Enable
Enable ETM Trace Clock Output connection to pin.
11:10 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
9:8 SWLOCATION 0x0 RW I/O Location
Decides the location of the SW pins.
Value Mode Description
0 LOC0 Location 0
1 LOC1 Location 1
2 LOC2 Location 2
3 LOC3 Location 3
7:3 Reserved
To ensure compatibility with future devices, always write bits to 0. More information in Section 2.1 (p. 3)
2 SWOPEN 0 RW Serial Wire Viewer Output Pin Enable
Enable Serial Wire Viewer Output connection to pin.
1 SWDIOPEN 1 RW Serial Wire Data Pin Enable
Enable Serial Wire Data 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.
0 SWCLKPEN 1 RW Serial Wire Clock Pin Enable