Datasheet

Section 17 Timer RE
Page 626 of 982 REJ09B0465-0300 Rev. 3.00
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
17.5 Interrupt Sources
There are six kinds of timer RE interrupts: week interrupts, day interrupts, hour interrupts, minute
interrupts, and second interrupts in realtime clock mode, and compare-match interrupts in output
compare mode. Table 17.2 shows the interrupt sources.
When using an interrupt, initiate the timer RE last after other registers are set. Independent vector
addresses are allocated to each timer RE interrupt source.
Table 17.2 Interrupt Sources
Interrupt Name Interrupt Source Interrupt Enable Bit
Compare-match interrupt Occurs when the count value matches the
compare data.
COMIE
Week periodic interrupt Occurs every week when the day-of-week
data register value becomes 0.
WKIE
Day periodic interrupt Occurs every day when the day-of-week data
register value is incremented.
DYIE
Hour periodic interrupt Occurs every hour when the hour date
register value is incremented.
HRIE
Minute periodic interrupt Occurs every minute when the minute data
register value is incremented.
MNIE
Second periodic interrupt Occurs every second when the second data
register value is incremented.
SEIE