请问自带的喂狗函数这为什么要赋值2遍啊?如果我需要通过喂错误的狗来进行系统复位可以直接随便给WDG->CNT个值吗?
* @brief feed WDG, trig timeout counter to 0
*
* @param[in] none
* @return none
*/
__STATIC_INLINE void WDG_Feed(void)
{
DisableInterrupts;
WDG->CNT = 0x7908AD15;
WDG->CNT = 0x5AD5A879;
EnableInterrupts;
}
|