MICROPROCESSOR AND MICROCONTROLLER

PIC MICROCONTROLLER

ARCHITECTURE OF 8085

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Instruction ____ will clear the Watch Dog Timer.
A
CLRF
B
CLRPWM
C
CLEAR
D
CLRWDT
Explanation: 

Detailed explanation-1: -Any Reset other than WDT will clear the WDT counter. The clrwdt assembly instruction will clear the WDT counter.

Detailed explanation-2: -This is where a useful function comes in: CLRWDT(). Once this function is called, it will automatically reset the watchdog timer.

Detailed explanation-3: -When the watchdog expires, the hardware will immediately reset the system. An interrupt can be enabled which will fire when the watchdog timer is getting close to expiration. In the interrupt handler, the software can decide to “feed” the watchdog to prevent the system from resetting.

Detailed explanation-4: -This method starts the watchdog timer with the specified timeout and with a closed window delay set to zero (0). If the watchdog timer is not refreshed by a call to WatchdogTimer. refresh() prior to the watchdog timing out, the device will be rebooted (or the JVM restarted).

There is 1 question to complete.