F75113
2
1
0
GP22_ PSTS
GP21_ PSTS
GP20_PSTS
R
R
R
-
-
-
Read the GPIO22 data on the pin.
Read the GPIO21 data on the pin.
Read the GPIO20 data on the pin.
8.2.45 GPIO2X Level/Pulse Control Register ⎯ Index 33h
Name R/W Default
Bit
7
Description
GPIO27 output mode. 0 – level, 1 – pulse.
GPIO26 output mode. 0 – level, 1 – pulse.
GPIO25 output mode. 0 – level, 1 – pulse.
GPIO24 output mode. 0 – level, 1 – pulse.
GPIO23 output mode. 0 – level, 1 – pulse.
GPIO22 output mode. 0 – level, 1 – pulse.
GPIO21 output mode. 0 – level, 1 – pulse.
GPIO20 output mode. 0 – level, 1 – pulse.
GP27_ OMODE R/W
GP26_ OMODE R/W
GP25_ OMODE R/W
GP24_ OMODE R/W
GP23_ OMODE R/W
GP22_ OMODE R/W
GP21_ OMODE R/W
GP20_ OMODE R/W
0
0
0
0
0
0
0
0
6
5
4
3
2
1
0
8.2.46 GPIO2X Pulse Width Control Register ⎯ Index 34h
Bit
Name
R/W Default
Description
7-2
Reserved
-
-
Reserved
GPIO2x pulse width. If set the GPIO2x to pulse mode, the pulse
width can be defined as follows.
00b – 500us (Default)
01b – 1ms
1-0
GP2_PLSWD
R/W
00b
10b – 20ms
11b – 100ms
8.2.47 GPIO2X Pull-up Resistor Control Register ⎯ Index 35h
Bit
7
Name
R/W Default
Description
GP27_ RESON R/W
GP26_ RESON R/W
GP25_ RESON R/W
GP24_ RESON R/W
GP23_ RESON R/W
0
0
0
0
0
Turn on the GPIO27 pin internal pull-up resistor with 10KΩ.
Turn on the GPIO26 pin internal pull-up resistor with 10KΩ.
Turn on the GPIO25 pin internal pull-up resistor with 10KΩ.
Turn on the GPIO24 pin internal pull-up resistor with 10KΩ.
Turn on the GPIO23 pin internal pull-up resistor with 10KΩ.
6
5
4
3
- 46 -
Dec,2011
V0.13P