Rtc Operation - Panasonic MN101L Series User Manual

Lsi
Table of Contents

Advertisement

12.3 RTC Operation

When the RTCCTR.CLKEN is set to "1", RTC starts time counting by using the clock registers described in
[12.2.5 Clock Registers]. RTC has two types of interrupts, the periodic interrupt and the alarm interrupt.
The periodic interrupt occurs according to the condition set in the RTCCIRQ.
There are two alarm interrupts, Alarm-0 and Alarm-1.
<Alarm-0 interrupt>
Alarm-0 interrupt occurs when the condition which is defined with the AL0IRQMI, the AL0IRQH and the
AL0IRQW matches the calendar counter.
- When the RTCAL0IRQ.AL0IRQSET is "0", Alarm-0 interrupt does not occur.
- When the RTCAL0IRQ.AL0IRQWEN is "0", AL0IRQW is not compared with the calendar calculator.
- When the RTCAL0IRQ.AL0IRQHEN is "0", AL0IRQH is not compared with the calendar calculator.
- When the RTCAL0IRQ.AL0IRQMIEN is "0", AL0IRQMI is not compared with the calendar calculator.
<Alarm-1 interrupt>
Alarm-1 interrupt occurs when the condition which is defined with the AL1IRQMI, the AL1IRQH, the AL1IRQD
and the AL1IRQMO matches the calendar counter.
- When the RTCAL1IRQ.AL1IRQSET is "0", Alarm-1 interrupt does not occur.
- When the RTCAL1IRQ.AL1IRQMIEN is "0", AL1IRQMI is not compared with the calendar calculator.
- When the RTCAL1IRQ.AL1IRQHEN is "0", AL1IRQH is not compared with the calendar calculator.
- When the RTCAL1IRQ.AL1IRQDEN is "0", AL1IRQD is not compared with the calendar calculator.
- When the RTCAL1IRQ.AL1IRQMOEN is "0", AL1IRQMO is not compared with the calendar calculator.
Chapter 12
Real Time Clock (RTC)
RTC Operation
XII - 15

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn101lr05dMn101lr04dMn101lr03dMn101lr02d

Table of Contents