beautypg.com

10 rtc day alarm register (alrm_day) – Freescale Semiconductor ColdFire MCF52210 User Manual

Page 172

background image

Real-Time Clock

MCF52211 ColdFire® Integrated Microcontroller Reference Manual, Rev. 2

11-12

Freescale Semiconductor

11.2.1.10 RTC Day Alarm Register (ALRM_DAY)

The real-time clock day alarm (ALRM_DAY) register is used to configure the day for the alarm. The alarm
settings can be read or written at any time.

Figure 11-11. RTC Day Alarm Register (ALRM_DAY)

11.2.1.11 RTC General Oscillator Count Registers (RTCGOCU and RTCGOCL)

The real-time clock general oscillator count registers (RTCGOCU and RTCGOCL) contain the upper and
lower 16 bits of a 32-bit field, RTCGOCNT. This field is used to control the 1 Hz clock and the sampling
clock as described in

Section 11.3, “Functional Description

”.

Figure 11-12. RTC General Oscillator Count Upper Register (RTCGOCU)

IPSBAR

Offset: 0x03E4 (ALRM_DAY)

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

DAYSAL

W

Reset

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

Table 11-11. ALRM_DAY Field Descriptions

Field

Description

31–16

Reserved, should be cleared.

15–0

DAYSAL

Day Setting of the Alarm. This field can be set to any value between 0 and 65535.

IPSBAR

Offset: 0x03F4 (RTCGOCU)

Access: User read/write

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

R

RTCGOCNT[31:16]

W

Reset

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

Table 11-12. RTCGOCU Field Descriptions

Field

Description

15–0

RTCGOCNT[31:16]

RTC general oscillator count, bits 31:16. This field is used to control the 1 Hz clock and the sampling
clock as described in

Section 11.3, “Functional Description

”.

This manual is related to the following products: