beautypg.com

2 rtc control register – Rainbow Electronics AT73C246 User Manual

Page 42

background image

42

11050A–PMAAC–07-Apr-10

AT73C246

11.10.2

RTC Control Register

Name: RTC_CR
Access:

Read-write

Address: 0x00

• UPDTIM: Update Request Time Register
0 = No effect.
1 = Stops the RTC time counting.
Time counting consists of second, minute and hour counters. Time counters can be programmed once this bit is set and
acknowledged by the bit ACKUPD of the Status Register.

• UPDCAL: Update Request Calendar Register
0 = No effect.
1 = Stops the RTC calendar counting.
Calendar counting consists of day, date, month, year and century counters. Calendar counters can be programmed once
this bit is set.

• TIMEVSEL: Time Event Selection
The event that generates the flag TIMEV in RTC_SR (Status Register) depends on the value of TIMEVSEL.
0 = Minute change.
1 = Hour change.
2 = Every day at midnight.
3 = Every day at noon.

• CALEVSEL: Calendar Event Selection
The event that generates the flag CALEV in RTC_SR depends on the value of CALEVSEL.
0 = Week change (every Monday at time 00:00:00).
1 = Month change (every 01 of each month at time 00:00:00).
2, 3 = Year change (every January 1 at time 00:00:00)

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