This code example deals with the watchdog timer (WDT) of PSOCâ„¢ 4. The watchdog timer operates in two modes: the interrupt mode and the reset mode. In the interrupt mode, the LED toggles every second.