InPlay API
Watch dog timer driver

HAL_WDT. More...

Functions

int hal_aon_wdt_start (wdt_cfg_param_t *cfg, void(*callback)(void *arg), void *arg)
 Enable watch dog timer. More...
 
void hal_aon_wdt_touch (void)
 Reload the watch dog timer counter. More...
 

Detailed Description

HAL_WDT.

Function Documentation

◆ hal_aon_wdt_start()

int hal_aon_wdt_start ( wdt_cfg_param_t *  cfg,
void(*)(void *arg)  callback,
void *  arg 
)

Enable watch dog timer.

Parameters
[in]cfgConfiguration parameters of WDT
[in]callbackCall back function when WDT interrupt happens.
[in]argUser supply call back parameter.
Returns
Driver error return code,
See also
enum wdt_error

◆ hal_aon_wdt_touch()

void hal_aon_wdt_touch ( void  )

Reload the watch dog timer counter.

Returns
void. This function has no return value.