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.

为什么PxDS寄存器不起作用?

Other Parts Discussed in Thread: MSP430F5438A

MSP430F5438A的片子,在PxDS中将对应pin设置成1 (Full output drive strength),测量后发现电压还是那么大,一点没增加。

代码:

P1DS = 0x04;
P1OUT |= 0x14;

按说P1.2是Full output drive strength,但没测出来。

是怎么回事呢?