Digi NS9215 manual M e r e g i s t e r, Hrt, Hru

Models: NS9215

1 517
Download 517 pages 25.29 Kb
Page 462
Image 462

R E A L TI M E C L O C K M O D U L E

Time register

T i m e r e g i s t e r

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

Address: 9006 0008

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

Register

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Rsvd

PM

HR_T

 

 

 

HR_U

 

Rsvd

 

M_T

 

 

 

M_U

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Rsvd

 

S_T

 

 

 

S_U

 

 

 

H_T

 

 

 

H_U

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Register bit

assignment

Bits

Access

Mnemonic

Reset

Description

 

 

 

 

 

 

 

 

D31

N/A

Reserved

N/A

N/A

 

 

 

 

 

 

 

 

 

D30

R/W

PM

0x0

PM

 

 

 

 

 

 

Used in 12 hour mode only.

 

 

 

 

 

0

AM

 

 

 

 

 

1

PM

 

 

 

 

 

 

 

D29:28

R/W

HR_T

0x0

Hours, tens, BCD digit (0-2)

 

 

 

 

 

 

 

D27:24

R/W

HR_U

0x0

Hours, units, BCD digit (0-9)

 

 

 

 

 

 

 

 

D23

N/A

Reserved

N/A

N/A

 

 

 

 

 

 

 

 

D22:20

R/W

M_T

0x0

Minutes, tens, BCD digit (0-5)

 

 

 

 

 

 

 

D19:16

R/W

M_U

0x0

Minutes, units, BCD digit (0-9)

 

 

 

 

 

 

 

 

D15

N/A

Reserved

N/A

N/A

 

 

 

 

 

 

 

 

D14:12

R/W

S_T

0x0

Seconds, tens, BCD digit (0-5)

 

 

 

 

 

 

 

D11:08

R/W

S_U

0x0

Seconds, units, BCD digit (0-9)

 

 

 

 

 

 

 

D07:04

R/W

H_T

0x0

Hundredths of a second, tens, BCD digit (0-9)

 

 

 

 

 

 

 

D03:00

R/W

H_U

0x0

Hundredths of a second, units, BCD digit (0-9)

 

 

 

 

 

 

 

462Hardware Reference NS9215

Page 462
Image 462
Digi NS9215 manual M e r e g i s t e r, Hrt, Hru