Time alarm register – Digi NS9215 User Manual

Page 464

Advertising
background image

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

Time Alarm register

464

Hardware Reference NS9215

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

T i m e A l a r m r e g i s t e r

Address: 9006 0010

The Time Alarm register sets the time alarm. 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

Rsvd

Rsvd

Rsvd

PM

HR_T

HR_U

M_T

M_U

S_T

S_U

H_T

H_U

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)

Advertising