 |
iSensor-SPI-Buffer
1.15
Firmware for the iSensor-SPI-Buffer board to enable full throughput buffered data capture on Analog Devices IMUs
|
Go to the documentation of this file.
11 #ifndef INC_WATCHDOG_H_
12 #define INC_WATCHDOG_H_
26 #define WATCHDOG_BASE_FREQ 40000
29 #define WATCHDOG_RELOAD_KEY 0x0000AAAA
32 #define WATCHDOG_START_KEY 0x0000CCCC
35 #define WATCHDOG_UNLOCK_KEY 0x00005555
Header file for iSensor-SPI-Buffer register interfacing module.
Header file for iSensor-SPI-Buffer watchdog timer module.
void Watchdog_Feed()
Feeds the watchdog timer. Should be called periodically from main loop.
Definition: watchdog.c:25
void Watchdog_Check_Status()
Check if system reset from independent watch dog timeout and sets the appropriate STATUS flag.
Definition: watchdog.c:35
void Watchdog_Enable(uint32_t timeout_ms)
Enables watch dog reset functionality.
Definition: watchdog.c:60
#define WATCHDOG_RELOAD_KEY
Definition: watchdog.h:29
#define WATCHDOG_START_KEY
Definition: watchdog.h:32
#define WATCHDOG_BASE_FREQ
Definition: watchdog.h:26
#define WATCHDOG_UNLOCK_KEY
Definition: watchdog.h:35