Hi Rajesh,
For such implementation, you could use the Watchdog Time-Out Flag (WDTOF) from Watchdog Mode register (WDMOD). This flag sets when a Watchdog Time-Out happened (Watchdog Reset) and is cleared after external Reset. For more details, you could refer to section 17.5.1 of “LPC21xx and LPC22xx User manual” (UM10114).
Hope this will be useful for you.
Best regards!
/Carlos
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
-------------------------------------------------------------------------------