The programming sequence for the generic watchdog mode includes:
- Set the G_Offset [GWOR] register field to configure the window period.
- Set the G_Ctrl_Status [GWEN] bit to enable the generic watchdog timer, which starts the first window.
- Software might generate the explicit refresh by writing to any one of the
following:
- G_Refresh
- G_Offset
- G_CSR
- If the explicit refresh is not received before the timeout of the first window, the GWS[0] bit is set and gwdt_ws0 is asserted, which starts the second window.
- If the explicit refresh is not received before the timeout of the second window, the GWS[1] bit is set and gwdt_ws1 is asserted.
- GWS[0] and GWS[1] remain asserted until an explicit refresh or watchdog reset occurs.