6 rtc current date register-mbar + 0x0814, Rtc current date register (0x08, Rtc alarm and stopwatch interrupt register – Freescale Semiconductor MPC5200B User Manual

Page 230

Advertising
background image

Real-Time Clock

MPC5200B Users Guide, Rev. 1

Freescale Semiconductor

7-71

7.6.3.6

RTC Current Date Register—MBAR + 0x0814

This is a read-only register.

7.6.3.7

RTC Alarm and Stopwatch Interrupt Register—MBAR + 0x0818

This is a read-only register.

24:25

Reserved

26:31

Second

Shows seconds in current time.

Table 7-61. RTC Current Date Register

msb 0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

R

Reserved

Month

Weekday

Day

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

W

RESET:

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

Bits

Name

Description

0:3

Reserved

4:7

Month

Shows current month. 1 = January; 12 = December

8:10

Weekday

Indicates day of week. (Monday = 1, Sunday = 7)

11:15

Date

Shows current date. Calendar feature is implemented, therefore, day rollover at the end of
month including February (and Leap Years) is automatic.

16:19

Reserved

20:31

Year

Shows current year. Max is 4052.

Table 7-62. RTC Alarm and Stopwatch Interrupt Register

msb 0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

R

Reserved

Int_alm

Reserved

Int_SW

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_st

atus

SW_min

W

RESET:

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

Bits

Name

Description

Advertising