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.

MSP430单片机IO端口的输入输出问题



我是想知道假如把P2的第一位置输出P2DIR=0x01,并对其置低电平,则P2OUT=0xfe,这样其余7位的状态是输入的,我使用等号赋值,这样会影响到它们的电平吗?