dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pios_wdg.h File Reference

SPI functions header. More...

#include "stdbool.h"

Go to the source code of this file.

Macros

#define PIOS_WDG_ACTUATOR   0x0001
 
#define PIOS_WDG_STABILIZATION   0x0002
 
#define PIOS_WDG_ATTITUDE   0x0004
 
#define PIOS_WDG_MANUAL   0x0008
 
#define PIOS_WDG_SENSORS   0x0010
 

Functions

uint16_t PIOS_WDG_Init ()
 Initialize the watchdog timer for a specified timeout. More...
 
bool PIOS_WDG_RegisterFlag (uint16_t flag_requested)
 Register a module against the watchdog. More...
 
bool PIOS_WDG_UpdateFlag (uint16_t flag)
 Function called by modules to indicate they are still running. More...
 
uint16_t PIOS_WDG_GetBootupFlags ()
 Returns the flags that were set at bootup. More...
 
uint16_t PIOS_WDG_GetActiveFlags ()
 Returns the currently active flags. More...
 
void PIOS_WDG_Clear (void)
 Clear the watchdog timer. More...
 

Detailed Description

SPI functions header.

Author
The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010. Parts by Thorsten Klose (tk@mi.nosp@m.dibo.nosp@m.x.org)
See Also
The GNU Public License (GPL) Version 3

Definition in file pios_wdg.h.