Can WWDt can be used as regular timer lpc1317

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Can WWDt can be used as regular timer lpc1317

905 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by aamir ali on Sun Aug 11 22:24:18 MST 2013
WWDT is used for counting for specified time & after that it reset the MCU. if its not kicked again.

But can it be used as regular timer
标签 (1)
0 项奖励
回复
1 回复

878 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by usb10185 on Mon Aug 12 07:57:51 MST 2013
Hi,
Yes this is possible. Just use the Debug mode

In the Watchdog Mode register (WDMOD - address 0x4000 4000), set bits WDEN = 1 and WDRESET = 0 --> This is Watchdog interrupt mode: Debug with the Watchdog interrupt but no WDRESET enabled.When this mode is selected, a watchdog counter underflow will set the WDINT flag and the Watchdog interrupt request will be generated.

Thanks,
Ken
0 项奖励
回复