|
|
|
Component
Init_TOD for COLDFIREV1
Time Of Day (TOD)
Properties:
-
Component name - Name of the component.
-
Device - TOD Device module
-
Settings - Common TOD module settings
-
Clock settings - Clock/timing settings of the module
-
Clock select - Determines the clock source for the TOD module.
There are 3 options:
- External clock: External clock
- 1-kHz low power oscillator: 1-kHz low power oscillator
- Internal clock: Internal clock
-
Prescaler - Determines the prescaler for the TOD module.
There are 8 options:
- divide by 250: divide by 250
- divide by 8192: divide by 8192
- divide by 8000: divide by 8000
- divide by 9600: divide by 9600
- divide by 1228800: divide by 1228800
- divide by 1000000: divide by 1000000
- divide by 2000000: divide by 2000000
- divide by 4000000: divide by 4000000
-
Counter frequency - Counter input frequency (for information only). This item is influenced by the following properties: Clock select, Prescaler.
-
TOD clock - Enable/Disable the TOD clock, which can be used by other MCU peripherals.
-
Match function - Enable/Disable the Match function. When a match occurs, the upper 6 bits of the counter register are reset to 0.
-
Match value - The 6 bit match value. A match occurs when the TOD counter register reaches the match value.
-
Match period - Match period (for information only). This item is influenced by the following properties: Clock select, Prescaler, Match value.
-
Interrupts - Interrupts settings of the module
-
Interrupt - Interrupt vector (for information only).
-
Only if priority supported
-
Quarter-second interrupt - Enable/Disable the Quarter-second interrupt
-
One second interrupt - Enable/Disable the One-second interrupt
-
Match interrupt - Enable/Disable the Match interrupt. The match interrupt condition occurs when the Match function property is enabled and the TOD counter register reaches the value in the Match value property.
-
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.
-
Enable TOD - Enable/Disable the Time Of Day module.
-
Reset TOD - Enable/Disable reset of the TOD module.
-
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.
|