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.

CC2530的串口使用问题



我使用的是串口0,P0.2和P0.3引脚,但是我只用到了接收P0.2脚,

P0.3脚我想作为GPIO使用,不知是否可以?但是我设置了,好像不起作用,

请问是原理上就不行还是配置的问题?
  P0SEL &= ~BV(3);                                            
  P0DIR |= BV(3);                                            
  P0_3 = 0;   //初始化为0