>bit 0 RTCCIF: RTCC Interrupt Flag bit > > 1 = An RTCC interrupt occurred (must be cleared in software) > > 0 = No RTCC interrupt occurred > >It seems this interrupt is triggered for other events than just alarm... >(related to timer1 ?). So indeed in my ISR, I check this, and then check if >ALRMRPT != orginal_value (and until 0 -- or until ALRMEN == false).
Yes, it's confusing that the RTCC section does not describe the IF bit. But I've checked all occurrences of the string "RTCCIF" and the misspelled "RTCCCIF" in the datasheet (there are only a few), and in all register definitions but the one for the RTCC, that bit is on grey background. So I'm very sure that this bit is solely for the alarm interrupt an thus can be used as alarm state bit. Greets, Kiste -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
