添加看门狗模块(使用抽象后的) 配置时钟 看门狗配置 保存生成配置代码 初始化看门狗和喂狗 WDG_Init(&wdg_pal1_Instance, &wdg_pal1_Config0); WDG_Refresh(&wdg_pal1_Instance);