最近设计要用到蓝牙芯片,在看文档时候发现好像把P0口设置为ADC后,P0.0-P0.7全都是ADC的输入了。
如果想用P0.0作为ADC的输入,其他的P0.1-P0.7当做普通IO来使用,可行吗?
再比如,P0端口只有P0.2-P0.6是Timer1的PWM输出端口,那么这时候P0.0,P0.1和P0.7可以设置成ADC输入吗?
谢谢!
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.
最近设计要用到蓝牙芯片,在看文档时候发现好像把P0口设置为ADC后,P0.0-P0.7全都是ADC的输入了。
如果想用P0.0作为ADC的输入,其他的P0.1-P0.7当做普通IO来使用,可行吗?
再比如,P0端口只有P0.2-P0.6是Timer1的PWM输出端口,那么这时候P0.0,P0.1和P0.7可以设置成ADC输入吗?
谢谢!