The 12 registers of RTC (Real-time Clock), from 0x400E1460, with their reset value and every field. The ATSAMG54J19 has 713 registers in 31 peripherals, one page each.
RTC Real-time Clock
RTC_CRControl Register
Address
0x400E1460
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
0x400E1464
Reset
0x00000000
Access
read/write
Size
32-bit
7 fields
Field
Bits
What it does
OUT1
22:20
ADC Last Channel Trigger Event 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
6 Output is a copy of the alarm flag
OUT0
18:16
All ADC Channel Trigger Event 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
6 Output is a copy of the alarm flag
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
0x400E1468
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
0x400E146C
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
0x400E1470
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
0x400E1474
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
0x400E1478
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.