objc

Typedefs | Functions
watchdog.h File Reference

Hardware Watchdog Timer Abstraction Layer. More...

#include <stdbool.h>
#include <stdint.h>
Include dependency graph for watchdog.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct hw_watchdog_t hw_watchdog_t
 Watchdog adapter.
 

Functions

hw_watchdog_thw_watchdog_init ()
 Initialize the watchdog timer subsystem. More...
 
void hw_watchdog_finalize (hw_watchdog_t *watchdog)
 Finalize the watchdog timer subsystem. More...
 
uint32_t hw_watchdog_maxtimeout (void)
 Return the maximum supported watchdog timeout. More...
 
bool hw_watchdog_valid (hw_watchdog_t *watchdog)
 Check if the watchdog is in a valid state. More...
 
bool hw_watchdog_did_reset (hw_watchdog_t *watchdog)
 Check if the watchdog triggered a system reset. More...
 
void hw_watchdog_enable (hw_watchdog_t *watchdog, bool enable)
 Enable or disable the watchdog timer. More...
 
void hw_watchdog_reset (hw_watchdog_t *watchdog, uint32_t delay_ms)
 Cause a reset after a delay. More...
 

Detailed Description

Hardware Watchdog Timer Abstraction Layer.

Definition in file watchdog.h.