6 General Purpose Input/Output (GPIO)
47
CW6632B Bluetooth 3.0 Audio Player SOC
Version 1.0.0
Copyright ©2015, www.appotech.com. All Rights Reserved.
Position
7
6
5
4
3
2
1
0
Name
P2DIR
Default
1
1
1
1
1
1
1
1
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
P2xDIR
: P2x direction control
0 = Output
1 = Input
Register 6-4 P3DIR-P3 direction Register
Position
7
6
5
4
3
2
1
0
Name
P3DIR
Default
1
1
1
1
1
1
1
1
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
P3xDIR
: P3x direction control
0 = Output
1 = Input
Register 6-5 P4DIR-P4 direction Register
Position
7
6
5
4
3
2
1
0
Name
P4DIR
Default
-
-
1
1
1
1
1
1
Access
-
-
R/W
R/W
R/W
R/W
R/W
R/W
P4xDIR
: P4x direction control
0 = Output
1 = Input
Register 6-6 P0
– P0 data register
Position
7
6
5
4
3
2
1
0
Name
P0
Default
x
x
x
x
x
x
x
x
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
P0[x]: P0x data. Valid when P0x is used as GPIO
0 = P0x is in low state when read and output low at P0x when write
1 = P0x is in high state when read and output high at P0x when write
Register 6-7 P1
– P1 data register
Position
7
6
5
4
3
2
1
0
Name
P1
Default
x
x
x
x
x
x
x
x
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
P1[x]: P1x data. Valid when P1x is used as GPIO
0 = P1x is in low state when read and output low at P1x when write