35 #define PIOS_WDG_ACTUATOR 0x0001
36 #define PIOS_WDG_STABILIZATION 0x0002
37 #define PIOS_WDG_ATTITUDE 0x0004
38 #define PIOS_WDG_MANUAL 0x0008
39 #define PIOS_WDG_SENSORS 0x0010
bool PIOS_WDG_RegisterFlag(uint16_t flag_requested)
Register a module against the watchdog.
bool PIOS_WDG_UpdateFlag(uint16_t flag)
Function called by modules to indicate they are still running.
uint16_t PIOS_WDG_GetBootupFlags()
Returns the flags that were set at bootup.
uint16_t PIOS_WDG_GetActiveFlags()
Returns the currently active flags.
void PIOS_WDG_Clear(void)
Clear the watchdog timer.
uint16_t PIOS_WDG_Init()
Initialize the watchdog timer for a specified timeout.