26.6.10 RTC Status Register

Name: RTC_SR
Offset: 0x18
Reset: 0x00000004
Property: Read-only

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
          
Access  
Reset  
Bit 76543210 
   TDERRCALEVTIMEVSECALARMACKUPD 
Access RRRRRR 
Reset 000100 

Bit 5 – TDERR Time and/or Date Free Running Error

If the RTC is configured in UTC mode, the value returned by this field is not relevant.

ValueNameDescription
0 CORRECT

The internal free running counters are carrying valid values since the last read of the Status register (RTC_SR).

1 ERR_TIMEDATE

The internal free running counters have been corrupted (invalid date or time, non-BCD values) since the last read and/or they are still invalid.

Bit 4 – CALEV Calendar Event

The calendar event is selected in RTC_CR.TIMEVSEL and can be any one of the following events: week change, month change and year change. If the RTC is configured in UTC mode, the value returned by this field is not relevant.
ValueNameDescription
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.

Bit 3 – TIMEV Time Event

The time event is selected in RTC_CR.TIMEVSEL and can be any one of the following events: minute change, hour change, noon, midnight (day change). If the RTC is configured in UTC mode, the value returned by this field is not relevant.
ValueNameDescription
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.

Bit 2 – SEC Second Event

ValueNameDescription
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.

Bit 1 – ALARM Alarm Flag

ValueNameDescription
0 NO_ALARMEVENT

No alarm matching condition occurred.

1 ALARMEVENT

An alarm matching condition has occurred.

Bit 0 – ACKUPD Acknowledge for Update

ValueNameDescription
0 FREERUN

Time and calendar registers cannot be updated.

1 UPDATE

Time and calendar registers can be updated.