Watchdog control method
A control method and watchdog technology, applied in instruments, digital data processing, computing, etc., can solve problems such as heavy CPU load, dog feeding task cannot guarantee timely dog feeding, system reset, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0014] see figure 1 , the watchdog control method of the present invention is used to monitor the application program, so that when the dog feeding task of the application program does not feed the dog within the set maximum dog feeding time interval, the watchdog module automatically sends a reset signal to enable System reset. The watchdog control method comprises the following processes: 1) the system is interrupted at a set interrupt time interval; the interrupt triggers the interrupt service routine; 2) the time variable is read, and the time variable value increases by an interrupt time interval every time the system is interrupted ;3) Compare the time variable value with the set maximum dog feeding time interval. When the time variable value is not greater than the maximum dog feeding time interval, the interrupt service routine will feed the dog by itself. When the time variable value is greater than the maximum dog feeding time interval, interrupt The service program...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 