Other Parts Discussed in Thread: MSP430F5131 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。 https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/819874/msp430f5131-msp430f5131…
Other Parts Discussed in Thread: MSP430F5131 , MSP430F5132 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。 https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1094827…
Other Parts Discussed in Thread: MSP430F5131 #include <msp430f5131.h>
void main(void) { WDTCTL = WDT_MDLY_32; // Set Watchdog Timer interval to ~30ms IE1|= WDTIE; // Enable WDT interrupt P1DIR |= 0x40; // Set P1.6 to output direction
_BIS_SR(LPM0_bits…