Calendar register – Digi NS9215 User Manual

Page 463

Advertising
background image

. . . . .

R E A L T I M E C L O C K M O D U L E

Calendar register

www.digiembedded.com

463

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

C a l e n d a r r e g i s t e r

Address: 9006 000C

The Calendar register sets the calendar values to the correct values, and reads the
calendar registers. BCD is binary coded decimal.

Register

Register bit
assignment

13

12

11

10

9

8

7

6

5

4

3

2

1

0

15

14

31

29

28

27

26

25

24

23

22

21

20

19

18

17

16

30

Reserved

Reserved

C_T

C_U

Y_T

Y_U

D_U

M_U

D_T

M_T

Day

Bits

Access

Mnemonic

Reset

Description

D31:30

N/A

Reserved

N/A

N/A

D29:28

R/W

C_T

0x0

Century, tens, BCD digit (1-2)

D27:24

R/W

C_U

0x0

Century, units, BCD digit (0-9)

D23:20

R/W

Y_T

0x0

Years, tens, BCD digit (0-9)

D19:16

R/W

Y_U

0x0

Years, units, BCD digit (0-9)

D15:14

N/A

Reserved

N/A

N/A

D13:12

R/W

D_T

0x0

Date, tens, BCD digit (0-3)

D11:08

R/W

D_U

0x0

Date, units, BCD digit (0-9)

D07

R/W

M_T

0x0

Months, tens, BCD digit (0-1)

D06:03

R/W

M_U

0x0

Months, units, BCD digit (0-9)

D02:00

R/W

Day

0x0

Day of week, units, BCD digit (0-7)

Advertising