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.

有关msp430FR6047时钟例程

时钟例程中为什么有这几句话

// Output ACLK & SMCLK
P7DIR |= BIT0 | BIT1;
P7SEL0 &= ~BIT0 | ~BIT1;
P7SEL1 |= BIT0 | BIT1;

不加上的话程序不会循环运行,不知道为什么?这几句话是必要的吗?我看和时钟配置没关系呀,它只是时钟的输出引脚而已啊