Rtc new year and stopwatch register, Rtc alarm and interrupt enable register – Freescale Semiconductor MPC5200B User Manual

Page 228

Advertising
background image

Real-Time Clock

MPC5200B Users Guide, Rev. 1

Freescale Semiconductor

7-69

7.6.3.3

RTC New Year and Stopwatch Register—MBAR + 0x0808

7.6.3.4

RTC Alarm and Interrupt Enable Register—MBAR + 0x080C

Table 7-58. RTC New Year and Stopwatch Register

msb 0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

R

Reserved

wr

ite_SW

SW_set

W

RESET:

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31 lsb

R

Reserved

Year_set

W

RESET:

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

Bits

Name

Description

0:6

Reserved

7

write_SW

Typical stopwatch operation is to write initial value into 8-bit wide SW_set and assert
write_SW bit. The write_SW bit is immediately auto cleared, but it triggers the stopwatch
minute countdown to begin.

8:15

SW_set

Number of minutes to be written into stopwatch. Max is 255, a little over 4 hours.

16:19

Reserved

20:31

Year_set

New year written in RTC after successful state machine transition by set_date and
pause_date bits.

Note: This is part of date set function in the previous register.

Table 7-59. RTC Alarm and Interrupt Enable Register

msb 0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

R

Reserved

Alm_en

ab

le

Reserved

Alm_24H_set

W

RESET:

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31 lsb

R

Reserved

Alm_Min_set

Reserved

MPEb

In

tEn_da

y

IntEn_min

IntEn_sec

W

RESET:

0

0

0

0

0

0

0

0

0

0

0

0

1

0

0

0

Bits

Name

Description

0:6

Reserved

7

Alm_enable

Alarm Enable bit for once-a-day Alarm. If high, Alarm status/interrupt operation is enabled.
If low, Alarm setting is not compared to time of day.

Advertising