beautypg.com

5 rtc calendar register – Rainbow Electronics AT73C246 User Manual

Page 45

background image

45

11050A–PMAAC–07-Apr-10

AT73C246

11.10.5

RTC Calendar Register

Name: RTC_CALR
Access:

Read-write

Address: 0x0C

• CENT: Current Century
The range that can be set is 19 - 20 (BCD).
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.

• 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.

• DAY: Current Day
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.

• DATE: Current Date
The range that can be set is 01 - 31 (BCD).
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