Can WWDt can be used as regular timer lpc1317

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can WWDt can be used as regular timer lpc1317

447 Views
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
Labels (1)
0 Kudos
1 Reply

420 Views
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 Kudos