-
Notifications
You must be signed in to change notification settings - Fork 1.1k
AliOS Things API HAL SOC WDG Guide
librae8226 edited this page Mar 1, 2018
·
1 revision
int32_t hal_wdg_init(wdg_dev_t *wdg)
-
Description
This function will initialize the on board CPU hardware watch dog
-
Parameters
IN/OUT NAME DESC [in] wdg the watch dog device -
Returns
0 : on success, EIO : if an error occurred with any step
void hal_wdg_reload(wdg_dev_t *wdg)
-
Description
Reload watchdog counter.
-
Parameters
IN/OUT NAME DESC [in] wdg the watch dog device -
Returns
None.
int32_t hal_wdg_finalize(wdg_dev_t *wdg)
-
Description
This function performs any platform-specific cleanup needed for hardware watch dog.
-
Parameters
IN/OUT NAME DESC [in] wdg the watch dog device -
Returns
0 : on success, EIO : if an error occurred with any step
| Home | Tutorial | Hardware | Porting Guide | Utilities | API Reference | Technical Docs | Certification |
Crafted with ❤️ by AliOS Things Team.