DF2211NP24V Renesas Technology / Hitachi Semiconductor, DF2211NP24V Datasheet - Page 414

no-image

DF2211NP24V

Manufacturer Part Number
DF2211NP24V
Description
H8S/2200 Series, 2212 Group, USB, RTC, HSS TNP-64B; Vcc= 2.7 to 3.6 volts, Temp= -20 to 75 C; Package: PVQN0064LB-A
Manufacturer
Renesas Technology / Hitachi Semiconductor
Datasheet
11.5
The RTC interrupt sources are listed in table 11.2. There are five kinds of RTC interrupts: week
interrupts, day interrupts, hour interrupts, minute interrupts, and second interrupts.
When using an interrupt, initiate the RTC last after other registers (include ISCRH and IER of
interrupt controller) are set. Do not set multiple interrupt enable bits in RTCCR2 simultaneously
to 1.
When an interrupt request of the RTC occurs, the IRQ5F flag in ISR is set to 1. When clearing the
flag, write 0 after reading the flag = 1.
Figure 11.5 shows the initializing setting procedure in using the RTC interrupt and figure 11.6
shows an example of the RTC interrupt handling routine.
Table 11.2 Interrupt Source
Rev.7.00 Dec. 24, 2008 Page 360 of 698
REJ09B0074-0700
Interrupt Name
Overflow interrupt
Week periodic interrupt
Day periodic interrupt
Hour periodic interrupt
Minute periodic interrupt
Second periodic interrupt
Interrupt Source
Interrupt Source
Occurs when the free running counter is
overflown.
Occurs every week when the day-of-week
date register value becomes 0.
Occurs every day when the day-of-week date
register is counted.
Occurs every hour when the hour date
register is counted.
Occurs every minute when the minute date
register is counted.
Occurs every second when the second date
register is counted.
Interrupt Enable Bit
FOIE
WKIE
DYIE
HRIE
MNIE
SEIE

Related parts for DF2211NP24V