The 12 registers of RTC (Real-time Clock), from 0x400E1860, with their reset value and every field. The ATSAMS70Q21B has 2655 registers in 64 peripherals, one page each.
RTC Real-time Clock
RTC_CRControl Register
Address
0x400E1860
Reset
0x00000000
Access
read/write
Size
32-bit
4 fields
Field
Bits
What it does
CALEVSEL
17:16
Calendar Event Selection
0 Week change (every Monday at time 00:00:00)
1 Month change (every 01 of each month at time 00:00:00)
2 Year change (every January 1 at time 00:00:00)
TIMEVSEL
9:8
Time Event Selection
0 Minute change
1 Hour change
2 Every day at midnight
3 Every day at noon
UPDCAL
1
Update Request Calendar Register
UPDTIM
0
Update Request Time Register
RTC_MRMode Register
Address
0x400E1864
Reset
0x00000000
Access
read/write
Size
32-bit
9 fields
Field
Bits
What it does
TPERIOD
29:28
Period of the Output Pulse
0 1 second
1 500 ms
2 250 ms
3 125 ms
THIGH
26:24
High Duration of the Output Pulse
0 31.2 ms
1 15.6 ms
2 3.91 ms
3 976 us
4 488 us
5 122 us
6 30.5 us
7 15.2 us
OUT1
22:20
RTCOUT1 Output Source Selection
0 No waveform, stuck at '0'
1 1 Hz square wave
2 32 Hz square wave
3 64 Hz square wave
4 512 Hz square wave
5 Output toggles when alarm flag rises
6 Output is a copy of the alarm flag
7 Duty cycle programmable pulse
OUT0
18:16
RTCOUT0 OutputSource Selection
0 No waveform, stuck at '0'
1 1 Hz square wave
2 32 Hz square wave
3 64 Hz square wave
4 512 Hz square wave
5 Output toggles when alarm flag rises
6 Output is a copy of the alarm flag
7 Duty cycle programmable pulse
HIGHPPM
15
HIGH PPM Correction
CORRECTION
14:8
Slow Clock Correction
NEGPPM
4
NEGative PPM Correction
PERSIAN
1
PERSIAN Calendar
HRMOD
0
12-/24-hour Mode
RTC_TIMRTime Register
Address
0x400E1868
Reset
0x00000000
Access
read/write
Size
32-bit
4 fields
Field
Bits
What it does
AMPM
22
Ante Meridiem Post Meridiem Indicator
HOUR
21:16
Current Hour
MIN
14:8
Current Minute
SEC
6:0
Current Second
RTC_CALRCalendar Register
Address
0x400E186C
Reset
0x00000000
Access
read/write
Size
32-bit
5 fields
Field
Bits
What it does
DATE
29:24
Current Day in Current Month
DAY
23:21
Current Day in Current Week
MONTH
20:16
Current Month
YEAR
15:8
Current Year
CENT
6:0
Current Century
RTC_TIMALRTime Alarm Register
Address
0x400E1870
Reset
0x00000000
Access
read/write
Size
32-bit
7 fields
Field
Bits
What it does
HOUREN
23
Hour Alarm Enable
AMPM
22
AM/PM Indicator
HOUR
21:16
Hour Alarm
MINEN
15
Minute Alarm Enable
MIN
14:8
Minute Alarm
SECEN
7
Second Alarm Enable
SEC
6:0
Second Alarm
RTC_CALALRCalendar Alarm Register
Address
0x400E1874
Reset
0x00000000
Access
read/write
Size
32-bit
4 fields
Field
Bits
What it does
DATE
29:24
Date Alarm
MTHEN
23
Month Alarm Enable
MONTH
20:16
Month Alarm
DATEEN
31
Date Alarm Enable
RTC_SRStatus Register
Address
0x400E1878
Reset
0x00000000
Access
read only
Size
32-bit
6 fields
Field
Bits
What it does
TDERR
5
Time and/or Date Free Running Error
0 The internal free running counters are carrying valid values since the last read of the Status Register (RTC_SR).
1 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.
CALEV
4
Calendar Event
0 No calendar event has occurred since the last clear.
1 At least one calendar event has occurred since the last clear.
TIMEV
3
Time Event
0 No time event has occurred since the last clear.
1 At least one time event has occurred since the last clear.
SEC
2
Second Event
0 No second event has occurred since the last clear.
1 At least one second event has occurred since the last clear.