6 General Purpose Input/Output (GPIO)
49
CW6632B Bluetooth 3.0 Audio Player SOC
Version 1.0.0
Copyright ©2015, www.appotech.com. All Rights Reserved.
Register
Address
Set bit “x” of PxPU0 as “1”
Clear bit “x” of PxPU0 as “0”
Initial value
P1PU
R/W
Enable pull-up
Disable pull-up
00h
P2PU
R/W
Enable pull-up
Disable pull-up
00h
P3PU
R/W
Enable pull-up
Disable pull-up
00h
P4PU
R/W
Enable pull-up
Disable pull-up
00h
Table 6-5 PDNx register setting
Register
Address
Set bit “x” of PxPD0 as “1”
Clear bit “x” of PxPD0 as “0”
Initial value
P0PD
R/W
Enable pull-down
Disable pull-down
00h
P1PD
R/W
Enable pull-down
Disable pull-down
00h
P2PD
R/W
Enable pull-down
Disable pull-down
00h
P3PD
R/W
Enable pull-down
Disable pull-down
00h
P4PD
R/W
Enable pull-down
Disable pull-down
00h
Register 6
–11 P1PUS0– P1 pull up select
Position
7
6
5
4
3
2
1
0
Name
P17PUS0
P16PUS0
P15PUS0
P14PUS0
P13PUS0
P12PUS0
P11PUS0
P10PUS0
Default
0
0
0
0
0
0
0
0
Access
W/R
W/R
W/R
W/R
W/R
W/R
W/R
W/R
Register 6
–12 P1PUS1– P1 pull up select
Position
7
6
5
4
3
2
1
0
Name
P17PUS1
P16PUS1
P15PUS1
P14PUS1
P13PUS1
P12PUS1
P11PUS1
P10PUS1
Default
0
0
0
0
0
0
0
0
Access
W/R
W/R
W/R
W/R
W/R
W/R
W/R
W/R
P17PUS1,P17PUS0:
00 = select 10K pull up
01 = select 200
Ω pull up
1x = reverse
P16PUS1,P16PUS0:
00 = select 10K pull up
01 = select 500
Ω pull up
1x = select 200K pull up
P15PUS1,P15PUS0:
00 = select 10K pull up
01 = select 200
Ω pull up
1x = reverse