GD32 F103 GD32F103 — 08-看门狗案例 GD32F103 DRG GD-1 08-看门狗案例 示例 GD32F103 — 08-看门狗案例 来源: DRG GD-1 开发板例程 源文件: GD32/drg_gd_1_gd32f103c8t6-master/08-看门狗案例/test/APP/main.c 子模块 Firmware test 关键代码 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 #include "gd32f10x_eval.h" #include <stdio.h> #include "WDG.h" int main(){ gd_eval_com_init(EVAL_COM0); printf("This is a FWDG DEMO test.\r\n"); // ԶŹгʼ fwdg_init(); while(1){ /* */ fwdg_reload(); } }