SAM3XA RTC

Real-time Clock (RTC) User Interface

Registers

Register Mapping
Address Register Name Access Reset
0x400E1A60 Control Register RTC_CR read-write 0x00000000
0x400E1A64 Mode Register RTC_MR read-write 0x00000000
0x400E1A68 Time Register RTC_TIMR read-write 0x00000000
0x400E1A6C Calendar Register RTC_CALR read-write 0x01210720
0x400E1A70 Time Alarm Register RTC_TIMALR read-write 0x00000000
0x400E1A74 Calendar Alarm Register RTC_CALALR read-write 0x01010000
0x400E1A78 Status Register RTC_SR read-only 0x00000000
0x400E1A7C Status Clear Command Register RTC_SCCR write-only -
0x400E1A80 Interrupt Enable Register RTC_IER write-only -
0x400E1A84 Interrupt Disable Register RTC_IDR write-only -
0x400E1A88 Interrupt Mask Register RTC_IMR read-only 0x00000000
0x400E1A8C Valid Entry Register RTC_VER read-only 0x00000000
0x400E1B44 Write Protect Mode Register RTC_WPMR read-write 0x00000000

Register Fields

RTC Control Register

Name: RTC_CR

Access: read-write

Address: 0x400E1A60

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - CALEVSEL
15 14 13 12 11 10 9 8
- - - - - - TIMEVSEL
7 6 5 4 3 2 1 0
- - - - - - UPDCAL UPDTIM

RTC Mode Register

Name: RTC_MR

Access: read-write

Address: 0x400E1A64

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - - - - HRMOD

RTC Time Register

Name: RTC_TIMR

Access: read-write

Address: 0x400E1A68

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- AMPM HOUR
15 14 13 12 11 10 9 8
- MIN
7 6 5 4 3 2 1 0
- SEC

RTC Calendar Register

Name: RTC_CALR

Access: read-write

Address: 0x400E1A6C

31 30 29 28 27 26 25 24
- - DATE
23 22 21 20 19 18 17 16
DAY MONTH
15 14 13 12 11 10 9 8
YEAR
7 6 5 4 3 2 1 0
- CENT

RTC Time Alarm Register

Name: RTC_TIMALR

Access: read-write

Address: 0x400E1A70

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
HOUREN AMPM HOUR
15 14 13 12 11 10 9 8
MINEN MIN
7 6 5 4 3 2 1 0
SECEN SEC

RTC Calendar Alarm Register

Name: RTC_CALALR

Access: read-write

Address: 0x400E1A74

31 30 29 28 27 26 25 24
DATEEN - DATE
23 22 21 20 19 18 17 16
MTHEN - - MONTH
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - - - - -

RTC Status Register

Name: RTC_SR

Access: read-only

Address: 0x400E1A78

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - CALEV TIMEV SEC ALARM ACKUPD

RTC Status Clear Command Register

Name: RTC_SCCR

Access: write-only

Address: 0x400E1A7C

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - CALCLR TIMCLR SECCLR ALRCLR ACKCLR

RTC Interrupt Enable Register

Name: RTC_IER

Access: write-only

Address: 0x400E1A80

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - CALEN TIMEN SECEN ALREN ACKEN

RTC Interrupt Disable Register

Name: RTC_IDR

Access: write-only

Address: 0x400E1A84

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - CALDIS TIMDIS SECDIS ALRDIS ACKDIS

RTC Interrupt Mask Register

Name: RTC_IMR

Access: read-only

Address: 0x400E1A88

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - CAL TIM SEC ALR ACK

RTC Valid Entry Register

Name: RTC_VER

Access: read-only

Address: 0x400E1A8C

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - NVCALALR NVTIMALR NVCAL NVTIM

RTC Write Protect Mode Register

Name: RTC_WPMR

Access: read-write

Address: 0x400E1B44

31 30 29 28 27 26 25 24
WPKEY
23 22 21 20 19 18 17 16
WPKEY
15 14 13 12 11 10 9 8
WPKEY
7 6 5 4 3 2 1 0
- - - - - - - WPEN