9 rtc days counter register (days) – Freescale Semiconductor ColdFire MCF52210 User Manual

Page 171

Advertising
background image

Memory Map/Register Definition

MCF52211 ColdFire® Integrated Microcontroller Reference Manual, Rev. 2

Freescale Semiconductor

11-11

11.2.1.9

RTC Days Counter Register (DAYS)

The real-time clock days counter register (DAYS) is used to program the day for the TOD clock. When the
HOUR field of the HOURMIN register rolls over from 23 to 00, the day counter increments. It can be read
or written at any time. After a write, the time changes to the new value. This register cannot be reset
because the real-time clock is always enabled at reset. Only 16-bit accesses to this register are allowed.

Figure 11-10. RTC Days Counter Register (DAYS)

IPSBAR

Offset: 0x03E0 (DAYS)

Access: User read/write

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

R

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

W

Reset

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

R

DAYS

W

Reset

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

?

Table 11-10. DAYS Field Descriptions

Field

Description

31–16

Reserved, should be cleared.

15–0

DAYS

Day Setting. This field indicates the current day count, and can be set to any value between 0 and 65535.

Advertising
This manual is related to the following products: