问答

汇集网友智慧,解决技术难题

yzjedqew

TA的家园币:77  

  • 关于看门狗的问题请教各位大佬

    请问自带的喂狗函数这为什么要赋值2遍啊?如果我需要通过喂错误的狗来进行系统复位可以直接随便给WDG->CNT个值吗?*@brieffeedWDG,trigtimeoutcounterto0**@paramnone*@returnnone*/__STATIC_INLINEvoidWDG_Feed(void){DisableInterrupts;WDG->CNT=0x7908AD15;WDG->CNT=0x5AD5A879;EnableInterrupts;}

    看门狗 TE AD TI inter BLE

    2021-11-09 0