
User’s Manual
WIN Enterprises, Inc.
May, 2009
64
Appendix C: Programming the GPIO
bit 7 6 5 4 3 2 1 0
GPIO
GPO 7 GPO 6 GPO 5
GPO 4
GPI 3
GPI 2
GPI 1
GPI 0
Programming of the GPI
0: LOW; 1: HIGH
GPI 3
GPI 2
GPI 1
GPI 0
Data
Bit 3
Bit 2
Bit 1
Bit 0
0 0
0
0
x0
0 0
0
1
x1
0 0
1
0
x2
0 0
1
1
x3
0 1
0
0
x4
0 1
0
1
x5
0 1
1
0
x6
0 1
1
1
x7
1 0
0
0
x8
1 0
0
1
x9
1 0
1
0
xA
1 0
1
1
xB
1 1
0
0
xC
1 1
0
1
xD
1 1
1
0
xE
1
1
1
1
xF
Note: x is the reserved data.
Programming of the GPO
0: LOW; 1: HIGH
GPO 7
GPO 6
GPO 5
GPO 4
Data
Bit 7
Bit 6
Bit 5
Bit 4
0 0
0
0
0x
0 0
0
1
1x
0 0
1
0
2x
0 0
1
1
3x