|
MC68HC908LJ12 Datasheet, PDF (215/413 Pages) Freescale Semiconductor, Inc – 8-bit microcontroller units | |||
|
◁ |
Real Time Clock (RTC)
12.6 RTC Registers
The RTC module has thirteen memory-mapped registers:
⢠RTC control register 1 (RTCCR1)
⢠RTC control register 2 (RTCCR2)
⢠RTC status register (RTCSR)
⢠Alarm minute and hour registers (ALMR and ALHR)
⢠Second register (SECR)
⢠Minute register (MINR)
⢠Hour register (HRR)
⢠Day register (DAY)
⢠Month register (MTHR)
⢠Year register (YRR)
⢠Day of the week register (DOWR)
⢠Chronograph data register (CHRR)
12.6.1 RTC Control Register 1 (RTCCR1)
The RTC control register 1 (RTCCR1) contains the eight interrupt enable
bits for RTC interrupt functions.
Address: $0042
Read:
ALMIE
Write:
CHRIE
DAYIE
HRIE
MINIE SECIE TB1IE
Reset: 0
0
0
0
0
0
0
Figure 12-3. RTC Control Register 1 (RTCCR1)
TB2IE
0
ALMIE â Alarm Interrupt Enable
This read/write bit enables the alarm flag, ALMF, to generate CPU
interrupt requests. Reset clears the ALMIE bit.
1 = ALMF enabled to generate CPU interrupt
0 = ALMF not enabled to generate CPU interrupt
Technical Data
216
Real Time Clock (RTC)
MC68HC908LJ12 â Rev. 2.1
Freescale Semiconductor
|
▷ |