48 6.5 GPIO Special Function Registers
CW6632B Bluetooth 3.0 Audio Player SOC Version 1.0.0
Copyright ©2015, www.appotech.com. All Rights Reserved.
1 = P1x is in high state when read and output high at P1x when write
Register 6-8 P2 – P2 data register
P2[x]: P2x data. Valid when P2x is used as GPIO
0 = P2x is in low state when read and output low at P2x when write
1 = P2x is in high state when read and output high at P2x when write
Register 6-9 P3 – P3 data register
P3[x]: P3x data. Valid when P3x is used as GPIO
0 = P3x is in low state when read and output low at P3x when write
1 = P3x is in high state when read and output high at P3x when write
Register 6-10 P4 – P4 data register
P3[x]: P3x data. Valid when P3x is used as GPIO
0 = P3x is in low state when read and output low at P3x when write
1 = P3x is in high state when read and output high at P3x when write
Table 6-3 DRVx register setting
Set bit “x” of PxDRV0 as “1”
Clear bit “x” of PxDRV0 as “0”
Table 6-4 PUPx register setting
Set bit “x” of PxPU0 as “1”
Clear bit “x” of PxPU0 as “0”