Start implementing watchdog timer
This commit is contained in:
12
src/common/watchdog.h
Normal file
12
src/common/watchdog.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef MAD_CORE_COMMON_WATCHDOG_H
|
||||
#define MAD_CORE_COMMON_WATCHDOG_H
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
void WDT_Enable(void);
|
||||
void WDT_SetTimeout(unsigned char time);
|
||||
bool WDT_HasTriggered(void);
|
||||
void WDT_Disable(void);
|
||||
void WDT_Reset(void);
|
||||
|
||||
#endif // MAD_CORE_COMMON_WATCHDOG_H
|
||||
Reference in New Issue
Block a user