WDT¶
WDT API Reference¶
Functions¶
-
OSStatus
bk_wdg_initialize
(uint32_t timeout)¶ This function will initialize the on board CPU hardware watch dog
- Return
kNoErr : on success.
kGeneralErr : if an error occurred with any step
- Parameters
timeout
: : Watchdag timeout, application should call bk_wdg_reload befor timeout.
-
void
bk_wdg_reload
(void)¶ Reload watchdog counter.
- Return
none
- Parameters
none
:
-
OSStatus
bk_wdg_finalize
(void)¶ This function performs any platform-specific cleanup needed for hardware watch dog.
- Return
kNoErr : on success.
kGeneralErr : if an error occurred with any step
- Parameters
none
: