Table of Contents

Advertisement

M16C/64C Group
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.
Table 20.5
Real-Time Clock Interrupt-Associated Registers
Address
006Eh
Real-Time Clock Periodic Interrupt Control Register
006Fh
Real-Time Clock Compare Interrupt Control Register
0205h
Interrupt Source Select Register 3
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).
R01UH0092EJ0110 Rev.1.10
Jul 31, 2012
Register
20. Real-Time Clock
Symbol
Reset Value
RTCTIC
XXXX X000b
RTCCIC
XXXX X000b
IFSR3A
00h
Page 392 of 807

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/60 seriesM16c series

Table of Contents