A+Description+on+Watchdog+Timer

__** Introduction **__ : Watchdog timer is a timer that performs a specific operation after a certain period of time if something goes wrong with an electronic system and the system does not recover on its own. In MSP 430, the watchdog timer is a 16 bit timer that can be used as a watch dog or as an interval timer.

//**PRIMARY FUNCTION**// : To perform a controlled system restart after a software problem occurs.

//**TWO MODES**// : a)WATCHDOG mode b) INTERVAL mode

__**NOTE**__ : If the selected time interval expires, a system restart is generated.

After POWER UP, Watchdog timer is automatically configured in the watchdog mode with an initial 32768 clock cycle reset interval.

__**IMPORTANT**__ : The user must halt the Watchdog timer prior to the expiration of the initial reset interval otherwise a system restart will be generated and we would not be able to perform our required task.

//**HOW TO HALT/STOP WATCHDOG TIMER**// ??? By accessing WATCHDOG Timer Register(**WDTCTL**). //WDTCTL = WDTPW + WDTHOLD//;
 * //COMMAND// :**

//WDTPW// : Watchdog Timer Password. //WDTHOLD//: Watchdog Timer Hold. This bit stops the Watchdog Timer. //WDTHOLD=0// à Watchdog Timer is not stopped. //WDTHOLD =1// à Watchdog Timer is stopped.