|
|
|
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.
-
Clock settings - Clock/timing settings of the module.
-
Watchdog Configuration Time (WCT) - Watchdog Configuration Time (for information only). This item is influenced by the 'Internal bus clock' property in the CPU bean.
-
Clock select - Determines the clock source for the WDOG module.
There are 2 options:
- 1-kHz low power oscillator: LPO Oscillator
- Alternate clock: Bus Clock
-
Time-out value - Determines the prescaler for the WDOG module.
-
Time-out period - Time-out period (for information only). This item is influenced by the following properties: Clock select, Time-out value.
-
Window mode settings - Window mode settings.
-
Windowing mode - Enable/Disable windowing mode.
-
Window value - This property specifies the Window of the Windowing mode. If Windowing property is set to 'enabled' WDOG can be refreshed only when the timer has reached a value greater than or equal to set window length. A refresh outside this window resets the system or if WatchDog Interrupt property is to 'Enabled', it interrupts and then after WCT time resets the system.
-
Window - Window (for information only). This item is influenced by the following properties: Clock select, Window Value.
-
Test mode settings - Test mode settings.
-
Test mode - Enable/Disable WDOG's functional Test mode. It cannot be unlocked for editing!
-
Test select - Selects the test to be run on the watchdog timer.
-
Byte select - Selects the byte to be tested when the WDOG is in the 'Byte test' mode.
-
Wait mode - Enable/Disable WDOG in Wait mode.
-
Stop mode - Enable/Disable WDOG in Stop mode.
-
Debug mode - Enable/Disable WDOG in Debug mode.
-
Allow update - Enable/Disable updates to watchdog write once registers within WCT.
-
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.
|