GPIOPinTypeUSBDigital
GPIOPinTypeUSBAnalog
这两个分别接USB的那个脚?(VBUS,D+,D-,GND)
谢了
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
请查看Datasheet中USB部分的管脚定义。USB相关管脚的Buffer Type定义为TTL的就是用Digital的那个函数,定义为Analog的就是用Analog那个函数。
你提到的几个脚都是Analog类型。
对应的,USB0EPEN和USB0PFLT是Digital类型。