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.

DM6437 看门狗 的复位代码会自己调用,还是要在代码中自己判断后命令执行?



我现在想验证跑飞后是否可以自己调用复位代码?

现在准备给一个延时函数,从而导致不能按时喂狗。这种情况下,是会自动调用复位代码,还是自己要给个标志位,让复位程序执行呢?

  • 你好,

    When the timeout event occurs, the Watchdog Timer could reset the entire processor depending on how
    the watchdog reset (WDRST) bit located in the timer control register (TIMERCTL) within the System
    Module is programmed. If the WDRST bit is set to 1, then a Watchdog Timer event causes a device reset.
    If the WDRST bit is cleared to 0, then a Watchdog Timer event does not cause a device reset.

    只能是device reset。