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.

msp430g2433 PxSEL PxSEL2这个功能选择寄存器怎么使用

Other Parts Discussed in Thread: MSP430G2433

在msp430g2433 中,端口p1.1 p1.2做串口,PxSEL PxSEL2设为1 1,但我p1.6做电容触摸,又要设置PxSEL PxSEL2为0 0,那么是不是PxSEL PxSEL2设置一个端口1就会把所有的端口1都设置为io,或者串口,又或者是P1SEL 对应Px.y 中的x,P2SEL2对应Px.y 中的y,所以P1SEL=0,P2SEL2=0,所以就会设置P1.2中的端口为io