MSP430FR2433是拥有睡眠模式的,如何在ccs中设计代码开启睡眠模式?
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.
您好,
__bis_SR_register(LPM0_bits + GIE); // Enter LPM0 w/ interrupt
注意前面是两个下划线。
(最后一行return 0;是不需要的。)
你是用什么方式测试的呢?
https://www.ti.com.cn/cn/lit/ds/symlink/msp430fr2433.pdf
datasheet 5.4 节开始的不同模式下的典型电流值你可以参考一下,即使是在active mode下,电流也去不到那么大。