MSP430F4XX User's Guide上有这么一句:
When using the WDT in the watchdog mode, the WDTIFG flag sources a reset
vector interrupt. The WDTIFG can be used by the reset interrupt service
routine to determine if the watchdog caused the device to reset. If the flag is
set, then the watchdog timer initiated the reset condition either by timing out
or by a security key violation. If WDTIFG is cleared, the reset was caused by
a different source.
看不明白。。。
假如看门狗模式时设定时间1s,到1s时不清除WDTCNT,应该会置WDTIFG吧,这时会直接PUC还是会有个中断服务程序,以决定是否PUC?
望高手指点。。。谢谢。。。
When using the WDT in the watchdog mode, the WDTIFG flag sources a reset vector interrupt.
当WDT在看门狗模式时,WDTIFG标志位源于一个复位矢量中断。
The WDTIFG can be used by the reset interrupt service routine to determine if the watchdog caused the device to reset.
复位中断服务程序使用WDTIFG标志位来决定是否是看门狗引起器件复位。
If the flag is set, then the watchdog timer initiated the reset condition either by timing out or by a security key violation.
如果WDTIFG标志位置位,看门狗定时器通过超时或密码违例来产生复位
If WDTIFG is cleared, the reset was caused by工a different source.
如果WDTIFG标志位清零,则复位是由一个不同(于超时或密码违例)的(事件)源引起。