摘要 |
The present invention provides an electronic control device including: a processing unit having a function of transition to a sleep mode; and a watch dog timer having a time counter that resets in response to a pulse signal outputted from the processing unit at certain intervals, this watch dog timer outputting a signal having a level inverted according to the existence or absence of overflow occurrence, in which the electronic control device further includes a latch circuit that latches the signal outputted from the watch dog timer and outputs a signal obtained through the latching as a first output enable signal, and the processing unit stops outputting the pulse signal before transition to the sleep mode, and carries out failure diagnosis of the watch dog timer based on the first output enable signal outputted from the latch circuit after output of the pulse signal is stopped. |