R01UH0136EJ0210 Rev.2.10
Page 390 of 800
Jul 31, 2012
M16C/64A Group
20. Real-Time Clock
20.4
Interrupts
The real-time clock generates two types of interrupt:
•
Periodic interrupts triggered every second, minute, hour, day, and week
•
Compare match interrupt
See Table 20.4 Periodic Interrupt Sources for details on periodic interrupt sources, individual mode
specifications and an operating example for the interrupt request generating timing. Refer to 14.7
“Interrupt Control” for details of interrupt control. Table 20.5 lists Real-Time Clock Interrupt-Associated
Registers.
The real-time clock shares interrupt vectors and interrupt control registers with other peripheral functions.
To use period interrupts, set the IFSR35 bit in the IFSR3A register to 1 (real-time clock cycle). To use
compare interrupts, set the IFSR36 bit in the IFSR3A register to 1 (real-time clock compare).
Table 20.5
Real-Time Clock Interrupt-Associated Registers
Address
Register
Symbol
Reset Value
Real-Time Clock Periodic Interrupt Control Register
Real-Time Clock Compare Interrupt Control Register
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...