Datasheet
Section 10 Realtime Clock (RTC)
Rev.5.00 Nov. 02, 2005 Page 148 of 500
REJ09B0027-0500
10.3.6 RTC Control Register 2 (RTCCR2)
RTCCR2 controls RTC periodic interrupts of weeks, days, hours, minutes, and seconds. Enabling
interrupts of weeks, days, hours, minutes, and seconds sets the IRRTA flag to 1 in the interrupt
flag register 1 (IRR1) when an interrupt occurs. It also controls an overflow interrupt of a free
running counter when RTC operates as a free running counter.
Bit Bit Name
Initial
Value R/W Description
7, 6 — All 0 — Reserved
These bits are always read as 0.
5 FOIE — R/W Free Running Counter Overflow Interrupt Enable
0: Disables an overflow interrupt
1: Enables an overflow interrupt
4 WKIE — R/W Week Periodic Interrupt Enable
0: Disables a week periodic interrupt
1: Enables a week periodic interrupt
3 DYIE — R/W Day Periodic Interrupt Enable
0: Disables a day periodic interrupt
1: Enables a day periodic interrupt
2 HRIE — R/W Hour Periodic Interrupt Enable
0: Disables an hour periodic interrupt
1: Enables an hour periodic interrupt
1 MNIE — R/W Minute Periodic Interrupt Enable
0: Disables a minute periodic interrupt
1: Enables a minute periodic interrupt
0 SEIE — R/W Second Periodic Interrupt Enable
0: Disables a second periodic interrupt
1: Enables a second periodic interrupt










