58 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.
0 = P20 digital Input Disabled
1 = P20 digital Input Enabled
Register 6-25 PMUXCON0 – Port Function MUX control 0
UART1_MAP: UART1 port mapping
0 = Select P16, P17
1 = Select Chip Bluetooth
SPI0_P4_MAP: SPI0 port4 mapping
0 = SPI0 clock pin map to P30
1 = SPI0 clock pin map to P40
SPI0_DO_P25: SPI0 DOUT output at P25
0 = Disable
1 = Enable
WKPIN_SEL: Port interrupt/wakeup event 2 sources selection
00 = Select P34
01 = Select DP
10 = Select DM
11 = Select IRTWKO
SDTWO: Dual SD card mode control
0 = only support one SD card plugged in at the same time
1 = support two SD cards plugged in at the same time. P30 is SDCLK shared by these two SD cards.
P2SDEN: SDCCLK, SDCCMD and SDCDAT0 port mapping control
0 = SDCCLK, SDCCMD and SDCDAT0 are mapped to P30, P31 and P32.
1 = SDCCLK, SDCCMD and SDCDAT0 are mapped to P20, P21 and P27
Register 6-26 PMUXCON1 – Port Function MUX control 1
P07WK_EN: P07 wakeup pin3 enable bit
0 = disable
1 = enable
WBEDGES: wire less board wake pin edge selection
0 = falling edge
1 = rising edge