Init_WDOG
 
Component Init_WDOG for COLDFIREV1
Generation 2008 Watchdog Timer (WDOG)
Component Level: Peripheral Initialization
Properties:
(Properties are parameters of the component. Please see the Embedded Components page for more information.)
  • Component name - Name of the component.
  • 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.
    • Call Init method - The Init method of the component may be called after a power-on or reset (in initialization code) by PE.
      yes - The Init method is called by PE.
      no - The Init method is not called by PE, it should be called in the user's code.