5.11.0.0R3
Software Development Kit
 
Loading...
Searching...
No Matches

Functions

wiced_result_t wiced_watchdog_kick (void)
 

Detailed Description

Watchdog Timer Functions

Watchdog is initialized during boot-up Unless WICED_DISABLE_WATCHDOG is defined.

In WICED System Monitor thread periodically kicks/feeds the watchdog.

Function Documentation

◆ wiced_watchdog_kick()

wiced_result_t wiced_watchdog_kick ( void )

Kick the system watchdog.

Resets (kicks) the timer of the system watchdog. This is called periodically by system_monitor thread <WICED_SDK/WICED/internal/system_monitor.c>

Applications need not call this function, unless there is a use case where System monitor thread may not be scheduled for long period of time greater than DEFAULT_SYSTEM_MONITOR_PERIOD (5sec)

For example: If the application has a thread which is running at the highest priority and doing a while(1). Such use case would be rare.

Returns
WICED_SUCCESS : on success.
WICED_ERROR : if an error occurred with any step