English
Language : 

SH7763 Datasheet, PDF (847/2026 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC Engine Family SH-4A Series
Section 22 Realtime Clock (RTC)
22.6 Interrupts
There are three kinds of RTC interrupt: alarm interrupts, periodic interrupts, and carry interrupts.
An alarm interrupt request (ATI) is generated when the alarm flag (AF) in RCR1 is set to 1 while
the alarm interrupt enable bit (AIE) is also set to 1.
A periodic interrupt request (PRI) is generated when the periodic interrupt enable bits (PES2–
PES0) in RCR2 are set to a value other than 000 and the periodic interrupt flag (PEF) is set to 1.
A carry interrupt request (CUI) is generated when the carry flag (CF) in RCR1 is set to 1 while the
carry interrupt enable bit (CIE) is also set to 1.
22.7 Usage Notes
22.7.1 Register Initialization
After powering on and making the RCR1 register settings, reset the frequency divider (by setting
RCR2.RESET to 1) and make initial settings for all the other registers.
22.7.2 Crystal Oscillator Circuit
Crystal oscillator circuit constants (recommended values) are shown in table 22.4, and the RTC
crystal oscillator circuit in figure 22.5.
Table 22.4 Crystal Oscillator Circuit Constants (Recommended Values)
fosc
32.768 kHz
Cin
10–22 pF
Cout
10–22 pF
Rev. 1.00 Oct. 01, 2007 Page 781 of 1956
REJ09B0256-0100