Init_WDOG
 
Component Init_WDOG for COLDFIREV1
Generation 2008 Watchdog Timer (WDOG)
Device Initialization
(Description of the component parameters.)
  • Device - WDOG Device module
  • Settings - Common WDOG module settings.
  • Interrupts - Interrupts settings of the module
    • Interrupt - Interrupt vector (for information only).
    • Only if priority supported
    • Watchdog interrupt - Enable/Disable the WDOG interrupt. If set to 'Enabled - after WCT time, it generates a reset.

      There are 2 options:
      • Enabled: WDOG time-out initially generates an interrupt. After WCT time, it generates a reset
      • Disabled: WDOG time-out generates reset only

    • ISR name - Name of the interrupt service routine (ISR) invoked by this interrupt vector. The user code of the routine should handle all respective interrupt flags correctly. The routine must be implemented in the user code, it is not generated by Processor Expert. Find external prototypes of the ISRs in the component module header file.
  • Initialization - Initialization options of the module.
    • Test WDOG - Puts the watchdog in the functional test mode. The clock for the timer is switched from the main watchdog clock to the fast clock input for watchdog functional test. The watchdog generated reset does not clear this bit.
    • Enable WDOG - Enable/Disable WDOG's operation.