第一次上传E3boot
This commit is contained in:
65
wdt_refresh.h
Normal file
65
wdt_refresh.h
Normal file
@@ -0,0 +1,65 @@
|
||||
#ifndef _WDT_RFFRESH_H_
|
||||
#define _WDT_RFFRESH_H_
|
||||
|
||||
#include <sdrv_watchdog.h>
|
||||
#include <rom_ctrl/rom_ctrl.h>
|
||||
|
||||
#define WDTGPIO GPIO_F5
|
||||
//#define WDTGPIO GPIO_H13
|
||||
|
||||
#define WDT_OUTms 1600
|
||||
|
||||
|
||||
|
||||
|
||||
//<2F>ⲿ<EFBFBD><E2B2BF><EFBFBD><EFBFBD>
|
||||
void wdt_init(uint32_t timeoutms);
|
||||
|
||||
|
||||
void External_wdt_refresh(void);
|
||||
void reboot_global(sdrv_rom_ctrl_boot_mode_e boot_mode);
|
||||
|
||||
//<2F>ⲿ<EFBFBD><E2B2BF><EFBFBD><EFBFBD>
|
||||
extern sdrv_wdt_t *wdt_type;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif /* _WDT_RFFRESH_H_*/
|
||||
Reference in New Issue
Block a user