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.

C语言如何定义MSP430管脚

C语言如何定义MSP430管脚 
各位高手指教一下,不甚感激!

就像51 
可以用
Sfr P2.1 = P2^1;

为什么MSP430我用如下语句,
#define SPI_CLK P2OUT.6;

SPI_CLK = 0;
....
SPI_CLK =1;

却不行呢?