Datasheet

Table Of Contents
134
SAM9N12/SAM9CN11/SAM9CN12 [DATASHEET]
11063K–ATARM–05-Nov-13
15.6.7 RTC Status Register
Name: RTC_SR
Address: 0xFFFFFEC8
Access: Read-only
ACKUPD: Acknowledge for Update
0 (FREERUN): Time and calendar registers cannot be updated.
1 (UPDATE): Time and calendar registers can be updated.
ALARM: Alarm Flag
0 (NO_ALARMEVENT): No alarm matching condition occurred.
1 (ALARMEVENT): An alarm matching condition has occurred.
SEC: Second Event
0 (NO_SECEVENT) = No second event has occurred since the last clear.
1 (SECEVENT) = At least one second event has occurred since the last clear.
TIMEV: Time Event
0 (NO_TIMEVENT): No time event has occurred since the last clear.
1 (TIMEVENT): At least one time event has occurred since the last clear.
The time event is selected in the TIMEVSEL field in RTC_CR (Control Register) and can be any one of the following events: min-
ute change, hour change, noon, midnight (day change).
CALEV: Calendar Event
0 (NO_CALEVENT): No calendar event has occurred since the last clear.
1 (CALEVENT): At least one calendar event has occurred since the last clear.
The calendar event is selected in the CALEVSEL field in RTC_CR and can be any one of the following events: week change,
month change and year change.
31 30 29 28 27 26 25 24
––––––––
23 22 21 20 19 18 17 16
––––––––
15 14 13 12 11 10 9 8
––––––––
76543210
CALEV TIMEV SEC ALARM ACKUPD