TI中文支持网
TI专业的中文技术问题搜集分享网站

cc1310 看门狗如何关闭

Watchdog_init();
Watchdog_Params Watchdogparams;
Watchdog_Params_init(&Watchdogparams);
watchdogHandle = Watchdog_open(0, &Watchdogparams);
Watchdog_setReload(watchdogHandle, 3200000);

我用上面程序打开了看门狗,但是Watchdog_close(watchdogHandle)却没有将看门狗关闭,why?

Felix ZF:

看门狗打开之后,不能关闭。

/* * ======== WatchdogCC26XX_close ======== */void WatchdogCC26XX_close(Watchdog_Handle handle){ /* * Not supported for CC26XX – Once the INTEN bit of the WDTCTL * register has been set, it can only be cleared by a hardware * reset. */ Assert_isTrue(false, NULL);}

赞(0)
未经允许不得转载:TI中文支持网 » cc1310 看门狗如何关闭
分享到: 更多 (0)