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.

msp430f5438a 请教 软件是否可以判断单片机是正常上电重启还是看门狗复位重启?

Other Parts Discussed in Thread: MSP430F5438A

额,我的程序需要针对正常上电重启和看门狗复位重启分别做不同的准备工作,因此,我需要判断当前单片机的上电方式。

手册上说可以通过使用SYSRSTIV寄存器进行判断,但是我不知道该如何使用。

恳请各位不吝赐教,感谢!