AT91SAM7L128 RTC

Real-time Clock (RTC) User Interface

Registers

Register Mapping
Address Register Name Access Reset
0xFFFFFD60 Control Register RTC_CR read-write 0x0
0xFFFFFD64 Mode Register RTC_MR read-write 0x0
0xFFFFFD68 Time Register RTC_TIMR read-write 0x0
0xFFFFFD6C Calendar Register RTC_CALR read-write 0x01819819
0xFFFFFD70 Time Alarm Register RTC_TIMALR read-write 0x0
0xFFFFFD74 Calendar Alarm Register RTC_CALALR read-write 0x01010000
0xFFFFFD78 Status Register RTC_SR read-only 0x0
0xFFFFFD7C Status Clear Command Register RTC_SCCR write-only -
0xFFFFFD80 Interrupt Enable Register RTC_IER write-only -
0xFFFFFD84 Interrupt Disable Register RTC_IDR write-only -
0xFFFFFD88 Interrupt Mask Register RTC_IMR read-only 0x0
0xFFFFFD8C Valid Entry Register RTC_VER read-only 0x0

Register Fields

RTC Control Register

Name: RTC_CR

Access: read-write

Address: 0xFFFFFD60

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: 0xFFFFFD64

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: 0xFFFFFD68

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: 0xFFFFFD6C

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: 0xFFFFFD70

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: 0xFFFFFD74

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: 0xFFFFFD78

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: 0xFFFFFD7C

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: 0xFFFFFD80

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: 0xFFFFFD84

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: 0xFFFFFD88

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: 0xFFFFFD8C

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