1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- #ifndef HAL_WDG_H
- #define HAL_WDG_H
- #if (HAL_USE_WDG == TRUE) || defined(__DOXYGEN__)
- typedef enum {
- WDG_UNINIT = 0,
- WDG_STOP = 1,
- WDG_READY = 2
- } wdgstate_t;
- #include "hal_wdg_lld.h"
- #define wdgResetI(wdgp) wdg_lld_reset(wdgp)
- #ifdef __cplusplus
- extern "C" {
- #endif
- void wdgInit(void);
- void wdgStart(WDGDriver *wdgp, const WDGConfig * config);
- void wdgStop(WDGDriver *wdgp);
- void wdgReset(WDGDriver *wdgp);
- #ifdef __cplusplus
- }
- #endif
- #endif
- #endif
|