Init_RTC
 
Component Init_RTC for HC08
Real Time Clock (RTC)
Component Level: Peripheral Initialization
This component provides initialization of the RTC module.

The RTC provides real time clock and calendar functions with automatic leap year adjustments. Other functions include alarm interrupt, periodic interrupts, and a chronograph timer.

Features of the RTC module include:
  • 32.768kHz clock input with frequency compensation
  • Counter registers for:
      – Second
      – Minute
      – Hour
      – Day
      – Day-of-week
      – Month
      – Year
  • Day counter with automatic month and leap year adjustment
  • 1/100 seconds chronograph counter
  • Seven periodic interrupts
  • Alarm interrupt

Peripheral Initialization Components provide a low-level hardware approach to initialize registers of the peripheral module. They are intended for experienced users.