DRV_WDT
DRV_WDT API Status
API |
|---|
DRV_WDT API Reference
Header File
Functions
-
void drv_wdt_enable(bool enable)
-
void drv_wdt_set(uint32_t val_period)
Macros
-
WATCH_DOG_TIMEOUT_SECONDS
-
WATCH_DOG_DISABLE()
disable watch dog
备注
通常它需要和 WATCH_DOG_ENABLE() 匹配使用
-
WATCH_DOG_ENABLE()
enable watch dog, it will automatically count and restart the whole chip when it reaches the threshold.
备注
通常它需要和 WATCH_DOG_DISABLE() 匹配使用
-
WATCH_DOG_FEED()
feed the watch dog
-
REBOOT_WITH_WATCHDOG(x)
reboot with watch dog by a small timeout value
-
_WDT_CLOCK_DIV
-
_WDT_PERIOD_VALUE
-
WDT_PERIOD_SECOND(x)