大家好
Zigbee 堆栈:1.2.2a
现在、看门狗可以在我的程序中正常工作。
如 WatchdogReloadSet()和 WatchdogIntClar()和 WatchdogEnable()就是工作。
当我在器件看门狗复位后和运行"WatchdogIntClear ()"之前通过"WatchdogIntStatus()"读取触发看门狗的状态值时
我得到的状态值是0。 (watchdog.h:0 ->看门狗中断未激活)
我希望我可以确定器件重启是否由看门狗触发。
感谢你的帮助。
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.
大家好
Zigbee 堆栈:1.2.2a
现在、看门狗可以在我的程序中正常工作。
如 WatchdogReloadSet()和 WatchdogIntClar()和 WatchdogEnable()就是工作。
当我在器件看门狗复位后和运行"WatchdogIntClear ()"之前通过"WatchdogIntStatus()"读取触发看门狗的状态值时
我得到的状态值是0。 (watchdog.h:0 ->看门狗中断未激活)
我希望我可以确定器件重启是否由看门狗触发。
感谢你的帮助。
尊敬的郭先生/女士:
您可以使用 SysCtrlResetSourceGet Driverlib API 返回最后一个复位源、包括指示看门狗复位的 RSTSRC_WARMRESET。 您可以参阅 tirtos_cc13xx_cc26xx_2_16_01_14/products/cc13xxware_2_03_02_16941/doc_driverlib/group__sysctrl__api.html 和 此 E2E 帖子。
此致、
Ryan