R01UH0136EJ0210 Rev.2.10
Page 376 of 800
Jul 31, 2012
M16C/64A Group
20. Real-Time Clock
When bits RTCCMP1 to RTCCMP0 are 01b, 10b, or 11b (any compare mode), set the following
according to which registers are compared:
•
When comparing to the RTCCSEC register, set the SEIE bit to 1 (interrupt enabled).
•
When comparing to the RTCCMIN register, set bits SEIE and MNIE to 1.
•
When comparing to the RTCCHR register, set bits SEIE, MNIE, and HRIE to 1.
Table 20.4
Periodic Interrupt Sources
Factor
Interrupt Source
Interrupt Enable Bit
Periodic interrupt
triggered every week
Value in RTCWK register is set to 000b (1-week period)
WKIE
Periodic interrupt
triggered every day
RTCWK register is updated (1-day period)
DYIE
Periodic interrupt
triggered every hour
RTCHR register is updated (1-hour period)
HRIE
Periodic interrupt
triggered every minute
RTCMIN register is updated (1-minute period)
MNIE
Periodic interrupt
triggered every second
RTCSEC register is updated (1-second period)
SEIE
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...