资 源 简 介
你可曾经为硬件看门狗的复位时间太短,而苦恼过,这个方法帮你解决问题. 用定时器喂狗,如果超过一定时间(程序跑飞,或整个中断都关闭,都会导致定时器不喂狗,导致看门狗的复位,从而延长了看门狗的复位时间)不喂就复位. 程序中我以lcpRD2为例.-you may have to reset the hardware watchdog short time and anguish that this approach help you solve the problem. DOG with timers, if more than a certain time (running fly procedures, or were closed throughout the interruption, it will not lead to the timer DOG, resulting in the reduction watchdog, thereby prolonging the watchdog reset the time) do not feed on the reset. proceedings I lcpRD2 example.