Software Watchdog
Description
The Software Watchdog can be instantiated by applications and stacks. The hardware watchdog is only fed once all instances are fed. This allows each task to have its own watchdog.
Functions |
|
sl_status_t | sl_watchdog_init (void) |
Initialize Software Watchdog.
|
|
sl_status_t | sl_watchdog_register_watchdog ( sl_watchdog_handle_t *watchdog) |
Register Software Watchdog.
|
|
sl_status_t | sl_watchdog_unregister_watchdog ( sl_watchdog_handle_t watchdog) |
Unregister Software Watchdog.
|
|
sl_status_t | sl_watchdog_feed_watchdog ( sl_watchdog_handle_t watchdog) |
Feed Software Watchdog instance.
|
|
Typedefs |
|
typedef uint32_t | sl_watchdog_handle_t |
Software Watchdog handle typedef.
|
|
Function Documentation
◆ sl_watchdog_init()
sl_status_t sl_watchdog_init | ( | void |
|
) |
Initialize Software Watchdog.
- Returns
- Status code
◆ sl_watchdog_register_watchdog()
sl_status_t sl_watchdog_register_watchdog | ( | sl_watchdog_handle_t * |
watchdog
|
) |
Register Software Watchdog.
- Parameters
-
watchdog
Pointer to watchdog handle
- Returns
- Status code
◆ sl_watchdog_unregister_watchdog()
sl_status_t sl_watchdog_unregister_watchdog | ( | sl_watchdog_handle_t |
watchdog
|
) |
Unregister Software Watchdog.
- Parameters
-
watchdog
Watchdog handle
- Returns
- Status code
◆ sl_watchdog_feed_watchdog()
sl_status_t sl_watchdog_feed_watchdog | ( | sl_watchdog_handle_t |
watchdog
|
) |
Feed Software Watchdog instance.
- Parameters
-
watchdog
Watchdog handle
- Returns
- Status code
Typedef Documentation
◆ sl_watchdog_handle_t
typedef uint32_t sl_watchdog_handle_t |
Software Watchdog handle typedef.