/******************************************************************************** **** Copyright (C), 2017, xx xx xx xx info&tech Co., Ltd. **** ******************************************************************************** * File Name : wdg.h * Author : barry * Date : 2017-04-12 * Description : wdg.c header file * Version : 1.0 * Function List : * * Record : * 1.Date : 2017-04-12 * Author : barry * Modification: Created file *************************************************************************************************************/ #ifndef __WDG_H__ #define __WDG_H__ #include "include.h" #ifdef __cplusplus #if __cplusplus extern "C"{ #endif #endif /* __cplusplus */ #define FEED_WDG do{IWDG_ReloadCounter();}while(0) extern void Iwdg_Init(uint8_t timeout); #ifdef __cplusplus #if __cplusplus } #endif #endif /* __cplusplus */ #endif /* __WDG_H__ */