|
|
|
Component
RTC
Real Time Clock
Properties:
-
Component name - Component name
-
Real Time Clock - Real time clock device
-
Settings only if RTC supports crystal compensation
-
Crystal compensation - Sets static crystal compensation. Entered value is the difference between counted one second and real one second (in microsecond).
Possible values are 3875.73 … -3906.25.
-
Interrupt service/event - Support of interrupt service. Events are available only if Interrupt service is enabled. If this property is set to "Enabled", the component functionality depends on the interrupt service and will not operate if the CPU interrupts are disabled. For details please refer to chapter "interrupt service in the component's generated code".
The following items are available only if the group is enabled (the value is "Enabled"):
-
Interrupt - Interrupt vector invoked from the RTC interrupt (for information only).
-
Interrupt priority - Priority of the interrupt associated with the Real Time Clock
-
Settings only if RTC supports date as day, month, and year
-
Component mode - In mode 'Compatible' are used only hour and minute alarm registers. That mode is supported on other platforms.
In mode 'Full' are more features available.
There are 2 options:
- Compatible: Use only hour and minute alarm registers
- Full: Use other device features.
-
Settings supported for MC68HC908LK24/MC68HC908LJ24 derivatives only.
-
Time base mode - This property select frequency of the Timebase. The frequency can be 8Hz for the Timebase 1 and 16Hz for the Timebase 2 or 2Hz for the Timebase 1 and 4Hz for the Timebase 2 (if the 32768 Hz oscillator frequency is used).
-
Compensation mechanism - This property allows to enable the compensation mechanism for the crystal frequency error compensation.
-
Automatic calibration - When the automatic calibration is enabled the CALIN input pin is reserved for the RTC device and correspond method can be enabled.
The following items are available only if the group is enabled (the value is "Enabled"):
-
Calibration input pin - Calibration input pin is used for automatic calibration of the RTC.
-
Calibration input pin signal - Signal name of the pin.
-
Calibration clock output - When the calibration output is enabled the CALOUT pin can produce compensated 1Hz signal or clock signal of the crystal oscillator (CGMXCLK).
The following items are available only if the group is enabled (the value is "Enabled"):
-
Calibration mode - Calibration mode of the calibration output pin.
There are 2 options:
- compensated 1Hz: CALOUT pin outputs compensated 1Hz
- oscillator clock signal: CALOUT pins outputs oscillator clock signal realy from CGMXCLK
-
Calibration output pin - Calibration output pin of the RTC device. The function of this pin is for legacy and manual calibration measurement.
-
Calibration output pin signal - Signal name of the pin.
-
Initialization - Initial settings (after power-on or reset).
-
Enable in init. code - The component is enabled after power-on or reset (in initialization code).
-
Enable alarm in init. code - Alarm is enabled after power-on or reset (in initialization code).
-
Events enabled in init. - Enables events in initialization code.
-
Settings supported for HC08 derivatives only.
-
Time - Time (hour, minute and second) set in initialization code.
-
Settings only if RTC supports date as day, month, and year
-
Date - Date set in initialization code.
-
Settings supported for HC08 derivatives only.
-
Alarm - Alarm time (hour and minute) set in initialization code.
-
Date - Date set in initialization code.
-
Settings supported for MC68HC908LK24/MC68HC908LJ24 derivatives only.
-
Settings supported for Freescale ColdFireV1 and MCF derivatives only.
-
Alarm time - Alarm time (hour, minute and second) set in initialization code.
-
Settings only if RTC supports alarm with days, months, and years
-
Alarm date - Alarm date (year, month and day) set in initialization code.
-
Settings only if RTC alarm supports definition of matched values
-
Alarm match - These property define which time and calendar counters will be used for matching and generate an alarm.
There are 4 options:
- Time: Only Seconds, Minutes and Hours matched.
- Day&Time: Only Seconds, Minutes, Hours and Days matched.
- Month&Day&Time: Only Seconds, Minutes, Hours, Days and Months matched.
- All: All Seconds, Minutes, Hours, Days, Months and Year matched.
-
Settings only if RTC has own power domain
-
Init. after reset - Initialization code is performed after power-on or reset.
Device could be initialized also by calling Init method.
|