iwdg.h 799 B

12345678910111213141516171819202122232425262728
  1. #ifndef __IWDG_AS_H
  2. #define __IWDG_AS_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. /* 包含头文件-----------------------------------------------------------------*/
  7. #include "stm32f10x.h"
  8. /* 宏定义---------------------------------------------------------------------*/
  9. /* 重置独立看门狗 */
  10. #define IWDG_RELOAD do{ \
  11. IWDG_ReloadCounter(); \
  12. }while(0)
  13. /* 类型定义-------------------------------------------------------------------*/
  14. /* 全局变量-------------------------------------------------------------------*/
  15. /* 函数原型-------------------------------------------------------------------*/
  16. void iwdg_config(void);
  17. #ifdef __cplusplus
  18. }
  19. #endif
  20. #endif /* iwdg.h */