|
|
|
Component
Init_RTC for HC08
Real Time Clock (RTC)
Device Initialization
(Description of the component parameters.)
-
Device - Selection of the RTC device module.
-
Settings - Common RTC module settings.
-
Clock settings - Clock/timing settings of the module.
-
Alarm settings - Alarm settings
-
Hour register - Set current value of alarm hour counter.
This item modifies the AH0-AH4 bits in the ALHR register.
-
Minute register - Set current value of alarm minute counter.
This item modifies the AM0-AM5 bits in the ALMR register.
-
Alarm time - The property shows actual alarm time (for information only).
This item is influenced by the following properties: Hour register, Minute register.
-
Time settings - Time settings
-
Hour register - Set current value of the time hour counter.
This item modifies the HR0-HR4 bits in the HRR register.
-
Minute register - Set current value of the time minute counter.
This item modifies the MIN0-MIN4 bits in the MINR register.
-
Second register - Set current value of the time second counter.
This item modifies the SEC0-SEC5 bits in the SECR register.
-
Time - The property shows actual time (for information only).
This item is influenced by the following properties: Hour register, Minute register, Second register.
-
Date settings - Date settings
-
Year register - Set current value of the year counter.
This item modifies the YR0-YR7 bits in the YRR register.
-
Month register - Set current value of the month counter.
This item modifies the MTH0-MTH3 bits in the MTHR register.
-
Day register - Set current value of the day of month counter.
This item modifies the DAY0-DAY4 bits in the DAYR register.
-
Day of the week register - Set current value of the day-of-week counter.
This item modifies the DOW0-DOW2 bits in the DOWR register.
-
Date - The property shows actual date (for information only).
This item is influenced by the following properties: Year register, Month register, Day register, Day of the week register.
-
Settings supported for HC08LJ24 derivatives only.
-
Calibration settings - Calibration settings
-
Calibration data - Set value of the calibration data register.
This item is influenced by the following properties: Calibration mode enabled, Automatic calibration enabled.
This item modifies the E0-E5 bits in the RTCCDAT register.
-
Calibration mode enabled - Set yes/no to enable the RTC calibration circuit.
This item modifies the CAL bit in the RTCCOMR register.
-
Automatic calibration enabled - Set yes/no to enable automatic calibration. If yes then calibration input pin accepts an incoming 1 Hz signal and RTC calibration circuit is set for automatic calibration.
This item is influenced by the following properties: Calibration mode enabled.
This item modifies the AUTOCAL bit in the RTCCOMR register.
-
Settings supported for HC08LK24 derivatives only.
-
Clear chronograph counter - Set yes/no to reset chronograph counter.
This item modifies the CHRCLR bit in the RTCCR2 register.
-
Interrupts - Interrupts settings of the module
-
Interrupt - Interrupt vector (for information only).
-
Alarm interrupt - Enable/disable Alarm interrupt.
This item modifies the ALMIE bit in the RTCCR1 register.
-
Chronograph interrupt - Enable/disable Chronograph interrupt.
This item modifies the CHRIE bit in the RTCCR1 register.
-
Day interrupt - Enable/disable Day interrupt.
This item modifies the DAYIE bit in the RTCCR1 register.
-
Hour interrupt - Enable/disable Hour interrupt.
This item modifies the HRIE bit in the RTCCR1 register.
-
Minute interrupt - Enable/disable Minute interrupt.
This item modifies the MINIE bit in the RTCCR1 register.
-
Second interrupt - Enable/disable Second interrupt.
This item modifies the SECIE bit in the RTCCR1 register.
-
Timebase 1 interrupt - Enable/disable Timebase 1 interrupt.
This item modifies the TB1IE bit in the RTCCR1 register.
-
Timebase 2 interrupt - Enable/disable Timebase 2 interrupt.
This item modifies the TB2IE bit in the RTCCR1 register.
-
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.
-
Initialization - Initialization options of the module.
-
Enable real time clock - Set yes/no to enable RTC module.
This item modifies the RTCE bit in the RTCCR2 register
-
Enable chronograph - Set yes/no to enable chronograph.
This item modifies the CHRE bit in the RTCCR2 register.
|