Content originally posted in LPCWare by miccio on Fri Aug 07 04:35:52 MST 2015 Hello everyone, while going through the Watchdog example code (specifically, the one for lpc11c24) I noticed something a little misleading: the following snippet claims:
/* Comment this define to let the watchdog timeout. In this case, the board
will continuously drop via to the WDT warning. */
#define DISABLE_WDT_TIMEOUT
So it will actually feed the watchdog if the symbol isn't defined, therefore preventing it from timeout-ing. So my conclusion is that it actually works the other way round, which is: comment the symbol -> no timeout , keep the symbol -> force timeout and call WDT_IRQHandler.
Is this a known issue or am I missing something? Thanks in advance