WatchDog
 
Component WatchDog
WatchDog component
Component Level: Low
Typical Usage:
(Examples of a typical usage of the component in user code. For more information please see the page Component Code Typical Usage.)

Required component name is "WDog1".
In the following example, watchdog timer resetting during a cycle, which takes a lot of time:
 MAIN.C

void main(void)
{
  unsigned i;
  for(i=0;i<50000;i++) { /* Long loop */
    WDog1_Clear();       /* Clear watchdog timer */
    :                    /* Other user actions */
    :
  }

}