Datasheet

Section 11 Realtime Clock (RTC)
Rev.7.00 Dec. 24, 2008 Page 355 of 698
REJ09B0074-0700
11.3.6 RTC Control Register 2 (RTCCR2)
RTCCR2 controls RTC periodic interrupts of weeks, days, hours, minutes, and seconds. This
register is initialized to H'00 by a STBY input or the RST bit in RTCCR1, but not initialized by a
RES input. 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
Note: * Initial value after RES.