将WDTPW+WDTHOLD赋值付给 WDTCTL这个寄存器 WDTPW等于0x5A00 是 WDTCTL这个寄存器的密码,只有赋了这个值才能修改这个寄存器。 WDTHOLD等于0x0080 是WDTCTL这个寄存器的HOLD位置1, hold位的含义为: Watchdog timer+ hold. This bit stops the watchdog timer+. Setting WDTHOLD = 1 when the WDT+ is not in use conserves power. 0 Watchdog timer+ is not stopped 1 Watchdog timer+ is stopped 来自百度知道