MC68HC908LJ12CPB FREESCALE [Freescale Semiconductor, Inc], MC68HC908LJ12CPB Datasheet - Page 213

no-image

MC68HC908LJ12CPB

Manufacturer Part Number
MC68HC908LJ12CPB
Description
8-bit microcontroller units
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
Real Time Clock (RTC)
12.4.1 Time Functions
12.4.2 Calendar Functions
12.4.3 Alarm Functions
12.4.4 Timebase Interrupts
Technical Data
214
Real time clock functions are provided by the second, minute, and hour
counter registers. All three clock counters are able to generate interrupts
on every counter increment, providing periodic interrupts for the second
(SECF), minute (MINF), and hour (HRF). A CPU interrupt request is
generated if the corresponding enable bit (SECIE, MINIE, and HRIE) is
also set.
Calendar functions are provided by the day, day-of-week, month, and
year counter registers. The roll over of the day counter is automatically
adjusted for the month and leap years. The setting for the year counter
ranges from 1901 to 2099.
The day flag (DAYF) is set on every increment of the day counter. A CPU
interrupt request is generated if the day interrupt enable bit (DAYIE) is
also set.
An alarm function is provided for the minute and hour counters. When
minute counter matches the value stored in the alarm minute register,
and the hour counter matches the value stored in the alarm hour register,
the alarm flag (ALMF) will be set. A CPU interrupt request is generated
if the alarm interrupt enable bit (ALMIE) is also set.
In addition to the second, minute, hour, and day periodic interrupts
generated by the clock functions, the divider circuits generates a 2Hz
and a 4Hz periodic interrupt. These are indicated by the TB1F and TB2F
flags. A CPU interrupt request is generated if the corresponding enable
bits (TB1IE and TB2IE) is also set.
Real Time Clock (RTC)
MC68HC908LJ12
Freescale Semiconductor
Rev. 2.1

Related parts for MC68HC908LJ12CPB