The 28 registers of RTC (Real-Time Counter), from 0x40001400, with their reset value and every field. The ATSAMHA1G16AB has 990 registers in 36 peripherals, one page each.
RTC Real-Time Counter
MODE0.CTRLMODE0 Control
Address
0x40001400
Reset
0x0000
Access
read/write
Size
16-bit
5 fields
Field
Bits
What it does
PRESCALER
11:8
Prescaler
0 CLK_RTC_CNT = GCLK_RTC/1
1 CLK_RTC_CNT = GCLK_RTC/2
2 CLK_RTC_CNT = GCLK_RTC/4
3 CLK_RTC_CNT = GCLK_RTC/8
4 CLK_RTC_CNT = GCLK_RTC/16
5 CLK_RTC_CNT = GCLK_RTC/32
6 CLK_RTC_CNT = GCLK_RTC/64
7 CLK_RTC_CNT = GCLK_RTC/128
8 CLK_RTC_CNT = GCLK_RTC/256
9 CLK_RTC_CNT = GCLK_RTC/512
10 CLK_RTC_CNT = GCLK_RTC/1024
MATCHCLR
7
Clear on Match
MODE
3:2
Operating Mode
0 Mode 0: 32-bit Counter
1 Mode 1: 16-bit Counter
2 Mode 2: Clock/Calendar
ENABLE
1
Enable
SWRST
0
Software Reset
MODE1.CTRLMODE1 Control
Address
0x40001400
Reset
0x0000
Access
read/write
Size
16-bit
4 fields
Field
Bits
What it does
PRESCALER
11:8
Prescaler
0 CLK_RTC_CNT = GCLK_RTC/1
1 CLK_RTC_CNT = GCLK_RTC/2
2 CLK_RTC_CNT = GCLK_RTC/4
3 CLK_RTC_CNT = GCLK_RTC/8
4 CLK_RTC_CNT = GCLK_RTC/16
5 CLK_RTC_CNT = GCLK_RTC/32
6 CLK_RTC_CNT = GCLK_RTC/64
7 CLK_RTC_CNT = GCLK_RTC/128
8 CLK_RTC_CNT = GCLK_RTC/256
9 CLK_RTC_CNT = GCLK_RTC/512
10 CLK_RTC_CNT = GCLK_RTC/1024
MODE
3:2
Operating Mode
0 Mode 0: 32-bit Counter
1 Mode 1: 16-bit Counter
2 Mode 2: Clock/Calendar
ENABLE
1
Enable
SWRST
0
Software Reset
MODE2.CTRLMODE2 Control
Address
0x40001400
Reset
0x0000
Access
read/write
Size
16-bit
6 fields
Field
Bits
What it does
PRESCALER
11:8
Prescaler
0 CLK_RTC_CNT = GCLK_RTC/1
1 CLK_RTC_CNT = GCLK_RTC/2
2 CLK_RTC_CNT = GCLK_RTC/4
3 CLK_RTC_CNT = GCLK_RTC/8
4 CLK_RTC_CNT = GCLK_RTC/16
5 CLK_RTC_CNT = GCLK_RTC/32
6 CLK_RTC_CNT = GCLK_RTC/64
7 CLK_RTC_CNT = GCLK_RTC/128
8 CLK_RTC_CNT = GCLK_RTC/256
9 CLK_RTC_CNT = GCLK_RTC/512
10 CLK_RTC_CNT = GCLK_RTC/1024
MATCHCLR
7
Clear on Match
CLKREP
6
Clock Representation
MODE
3:2
Operating Mode
0 Mode 0: 32-bit Counter
1 Mode 1: 16-bit Counter
2 Mode 2: Clock/Calendar
ENABLE
1
Enable
SWRST
0
Software Reset
READREQRead Request
Address
0x40001402
Reset
0x0010
Access
read/write
Size
16-bit
3 fields
Field
Bits
What it does
RREQ
15
Read Request
RCONT
14
Read Continuously
ADDR
5:0
Address
MODE0.EVCTRLMODE0 Event Control
Address
0x40001404
Reset
0x0000
Access
read/write
Size
16-bit
10 fields
Field
Bits
What it does
OVFEO
15
Overflow Event Output Enable
CMPEO0
8
Compare 0 Event Output Enable
PEREO7
7
Periodic Interval 7 Event Output Enable
PEREO6
6
Periodic Interval 6 Event Output Enable
PEREO5
5
Periodic Interval 5 Event Output Enable
PEREO4
4
Periodic Interval 4 Event Output Enable
PEREO3
3
Periodic Interval 3 Event Output Enable
PEREO2
2
Periodic Interval 2 Event Output Enable
PEREO1
1
Periodic Interval 1 Event Output Enable
PEREO0
0
Periodic Interval 0 Event Output Enable
MODE1.EVCTRLMODE1 Event Control
Address
0x40001404
Reset
0x0000
Access
read/write
Size
16-bit
11 fields
Field
Bits
What it does
OVFEO
15
Overflow Event Output Enable
CMPEO1
9
Compare 1 Event Output Enable
CMPEO0
8
Compare 0 Event Output Enable
PEREO7
7
Periodic Interval 7 Event Output Enable
PEREO6
6
Periodic Interval 6 Event Output Enable
PEREO5
5
Periodic Interval 5 Event Output Enable
PEREO4
4
Periodic Interval 4 Event Output Enable
PEREO3
3
Periodic Interval 3 Event Output Enable
PEREO2
2
Periodic Interval 2 Event Output Enable
PEREO1
1
Periodic Interval 1 Event Output Enable
PEREO0
0
Periodic Interval 0 Event Output Enable
MODE2.EVCTRLMODE2 Event Control
Address
0x40001404
Reset
0x0000
Access
read/write
Size
16-bit
10 fields
Field
Bits
What it does
OVFEO
15
Overflow Event Output Enable
ALARMEO0
8
Alarm 0 Event Output Enable
PEREO7
7
Periodic Interval 7 Event Output Enable
PEREO6
6
Periodic Interval 6 Event Output Enable
PEREO5
5
Periodic Interval 5 Event Output Enable
PEREO4
4
Periodic Interval 4 Event Output Enable
PEREO3
3
Periodic Interval 3 Event Output Enable
PEREO2
2
Periodic Interval 2 Event Output Enable
PEREO1
1
Periodic Interval 1 Event Output Enable
PEREO0
0
Periodic Interval 0 Event Output Enable
MODE0.INTENCLRMODE0 Interrupt Enable Clear
Address
0x40001406
Reset
0x00
Access
read/write
7OVF
6SYNCRDY
5–
4–
3–
2–
1–
0CMP0
3 fields
Field
Bits
What it does
OVF
7
Overflow Interrupt Enable
SYNCRDY
6
Synchronization Ready Interrupt Enable
CMP0
0
Compare 0 Interrupt Enable
MODE1.INTENCLRMODE1 Interrupt Enable Clear
Address
0x40001406
Reset
0x00
Access
read/write
7OVF
6SYNCRDY
5–
4–
3–
2–
1CMP1
0CMP0
4 fields
Field
Bits
What it does
OVF
7
Overflow Interrupt Enable
SYNCRDY
6
Synchronization Ready Interrupt Enable
CMP1
1
Compare 1 Interrupt Enable
CMP0
0
Compare 0 Interrupt Enable
MODE2.INTENCLRMODE2 Interrupt Enable Clear
Address
0x40001406
Reset
0x00
Access
read/write
7OVF
6SYNCRDY
5–
4–
3–
2–
1–
0ALARM0
3 fields
Field
Bits
What it does
OVF
7
Overflow Interrupt Enable
SYNCRDY
6
Synchronization Ready Interrupt Enable
ALARM0
0
Alarm 0 Interrupt Enable
MODE0.INTENSETMODE0 Interrupt Enable Set
Address
0x40001407
Reset
0x00
Access
read/write
7OVF
6SYNCRDY
5–
4–
3–
2–
1–
0CMP0
3 fields
Field
Bits
What it does
OVF
7
Overflow Interrupt Enable
SYNCRDY
6
Synchronization Ready Interrupt Enable
CMP0
0
Compare 0 Interrupt Enable
MODE1.INTENSETMODE1 Interrupt Enable Set
Address
0x40001407
Reset
0x00
Access
read/write
7OVF
6SYNCRDY
5–
4–
3–
2–
1CMP1
0CMP0
4 fields
Field
Bits
What it does
OVF
7
Overflow Interrupt Enable
SYNCRDY
6
Synchronization Ready Interrupt Enable
CMP1
1
Compare 1 Interrupt Enable
CMP0
0
Compare 0 Interrupt Enable
MODE2.INTENSETMODE2 Interrupt Enable Set
Address
0x40001407
Reset
0x00
Access
read/write
7OVF
6SYNCRDY
5–
4–
3–
2–
1–
0ALARM0
3 fields
Field
Bits
What it does
OVF
7
Overflow Interrupt Enable
SYNCRDY
6
Synchronization Ready Interrupt Enable
ALARM0
0
Alarm 0 Interrupt Enable
MODE0.INTFLAGMODE0 Interrupt Flag Status and Clear
Address
0x40001408
Reset
0x00
Access
read/write
7OVF
6SYNCRDY
5–
4–
3–
2–
1–
0CMP0
3 fields
Field
Bits
What it does
OVF
7
Overflow
SYNCRDY
6
Synchronization Ready
CMP0
0
Compare 0
MODE1.INTFLAGMODE1 Interrupt Flag Status and Clear
Address
0x40001408
Reset
0x00
Access
read/write
7OVF
6SYNCRDY
5–
4–
3–
2–
1CMP1
0CMP0
4 fields
Field
Bits
What it does
OVF
7
Overflow
SYNCRDY
6
Synchronization Ready
CMP1
1
Compare 1
CMP0
0
Compare 0
MODE2.INTFLAGMODE2 Interrupt Flag Status and Clear
Address
0x40001408
Reset
0x00
Access
read/write
7OVF
6SYNCRDY
5–
4–
3–
2–
1–
0ALARM0
3 fields
Field
Bits
What it does
OVF
7
Overflow
SYNCRDY
6
Synchronization Ready
ALARM0
0
Alarm 0
STATUSStatus
Address
0x4000140A
Reset
0x00
Access
read/write
7SYNCBUSY
6–
5–
4–
3–
2–
1–
0–
1 field
Field
Bits
What it does
SYNCBUSY
7
Synchronization Busy
DBGCTRLDebug Control
Address
0x4000140B
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0DBGRUN
1 field
Field
Bits
What it does
DBGRUN
0
Run During Debug
FREQCORRFrequency Correction
Address
0x4000140C
Reset
0x00
Access
read/write
7SIGN
6VALUE6
5VALUE5
4VALUE4
3VALUE3
2VALUE2
1VALUE1
0VALUE0
2 fields
Field
Bits
What it does
SIGN
7
Correction Sign
VALUE
6:0
Correction Value
MODE0.COUNTMODE0 Counter Value
Address
0x40001410
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
COUNT
31:0
Counter Value
MODE1.COUNTMODE1 Counter Value
Address
0x40001410
Reset
0x0000
Access
read/write
Size
16-bit
1 field
Field
Bits
What it does
COUNT
15:0
Counter Value
MODE2.CLOCKMODE2 Clock Value
Address
0x40001410
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
Field
Bits
What it does
MONTH
25:22
Month
DAY
21:17
Day
HOUR
16:12
Hour
0 AM when CLKREP in 12-hour
16 PM when CLKREP in 12-hour
MINUTE
11:6
Minute
SECOND
5:0
Second
YEAR
31:26
Year
MODE1.PERMODE1 Counter Period
Address
0x40001414
Reset
0x0000
Access
read/write
Size
16-bit
1 field
Field
Bits
What it does
PER
15:0
Counter Period
MODE0.COMPMODE0 Compare n Value
Address
0x40001418
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
COMP
31:0
Compare Value
MODE1.COMP0MODE1 Compare n Value
Address
0x40001418
Reset
0x0000
Access
read/write
Size
16-bit
1 field
Field
Bits
What it does
COMP
15:0
Compare Value
MODE2.ALARMMODE2_ALARM Alarm n Value
Address
0x40001418
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
Field
Bits
What it does
MONTH
25:22
Month
DAY
21:17
Day
HOUR
16:12
Hour
0 Morning hour
16 Afternoon hour
MINUTE
11:6
Minute
SECOND
5:0
Second
YEAR
31:26
Year
MODE1.COMP1MODE1 Compare n Value
Address
0x4000141A
Reset
0x0000
Access
read/write
Size
16-bit
1 field
Field
Bits
What it does
COMP
15:0
Compare Value
MODE2.MASKMODE2_ALARM Alarm n Mask
Address
0x4000141C
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2SEL2
1SEL1
0SEL0
1 field
Field
Bits
What it does
SEL
2:0
Alarm Mask Selection
0 Alarm Disabled
1 Match seconds only
2 Match seconds and minutes only
3 Match seconds, minutes, and hours only
4 Match seconds, minutes, hours, and days only
5 Match seconds, minutes, hours, days, and months only
6 Match seconds, minutes, hours, days, months, and years