摘要 |
PURPOSE:To easily discriminate the condition for reset of a microprocessor by storing contents of the reset state, the AC switch state, or the like to the microprocessor in a status latch part and outputting these contents if necessary. CONSTITUTION:A voltage monitor output is obtained from a DC voltage monitor part 22 at the time of a momently break of supply power or the like, and a microprocessor 12 is initialized by this output. If the microprocessor 12 runs away, the microprocessor 12 is recovered by the output of a watchdog timer 24. The voltage monitor output and the output of the watchdog timer 24 are supplied to a status latch part 30, and state contents are latched. The output from a state discriminating part 34 of an AC switch 18 is supplied to the status latch part 30, and the output from an AC input monitor part 42 is supplied there also, and they are stored in the status latch part 30. Thus, the microprocessor 12 is reset or contents of the state for recovery are reproduced. |