cc1310 看门狗如何关闭
时间:12-23
整理:3721RD
点击:
Watchdog_init();
Watchdog_Params Watchdogparams;
Watchdog_Params_init(&Watchdogparams);
watchdogHandle = Watchdog_open(0, &Watchdogparams);
Watchdog_setReload(watchdogHandle, 3200000);
我用上面程序打开了看门狗,但是Watchdog_close(watchdogHandle)却没有将看门狗关闭,why?
看门狗打开之后,不能关闭。
/*
* ======== 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);
}