Atmel SAM4S Xplained Pro Starter and Evaluation Kit ATSAM4S-XPRO ATSAM4S-XPRO Data Sheet
Product codes
ATSAM4S-XPRO
307
SAM4S Series [DATASHEET]
Atmel-11100G-ATARM-SAM4S-Datasheet_27-May-14
16.6.4 RTC Calendar Register
Name:
RTC_CALR
Address:
0x400E146C
Access:
Read
/Write
• CENT: Current Century
The range that can be set is 19–20 (gregorian) or 13–14 (persian) (BCD).
The lowest four bits encode the units. The higher bits encode the tens.
The lowest four bits encode the units. The higher bits encode the tens.
• YEAR: Current Year
The range that can be set is 00–99 (BCD).
The lowest four bits encode the units. The higher bits encode the tens.
The lowest four bits encode the units. The higher bits encode the tens.
• MONTH: Current Month
The range that can be set is 01–12 (BCD).
The lowest four bits encode the units. The higher bits encode the tens.
The lowest four bits encode the units. The higher bits encode the tens.
• DAY: Current Day in Current Week
The range that can be set is 1–7 (BCD).
The coding of the number (which number represents which day) is user-defined as it has no effect on the date counter.
The coding of the number (which number represents which day) is user-defined as it has no effect on the date counter.
• DATE: Current Day in Current Month
The range that can be set is 01–31 (BCD).
The lowest four bits encode the units. The higher bits encode the tens.
The lowest four bits encode the units. The higher bits encode the tens.
All non-significant bits read zero.
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