3 rtc alarm register, Rtc alarm register -7, Table 11-4 – Motorola MC68VZ328 User Manual

Page 217: Rtc alarm register description -7, Rtcalrm rtc alarm register 0x(ff)fffb04

Advertising
background image

Programming Model

Real-Time Clock

11-7

11.2.3

RTC Alarm Register

The real-time clock alarm (RTCALRM) register is used to configure the alarm. The hours, minutes, and
seconds can be read or written at any time. After a write, the current time assumes the new values. The
settings for the RTCTIME register are described in Table 11-4.

RTCALRM

RTC Alarm Register

0x(ff)FFFB04

BIT

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

BIT

16

HOURS

MINUTES

TYPE

rw

rw

rw

rw

rw

rw

rw

rw

rw

rw

rw

RESET

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0x00000000

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

SECONDS

TYPE

rw

rw

rw

rw

rw

rw

RESET

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0x00000000

Table 11-4. RTC Alarm Register Description

Name

Description

Setting

Reserved
Bits 31–29

Reserved

These bits are reserved and should be set to
0.

HOURS
Bits 28–24

Hours—These bits indicate the value of the
hours field in the current alarm setting.

This field can be set to any value between 0
and 23. Default is value 0.

Reserved
Bits 23–22

Reserved

These bits are reserved and should be set to
0.

MINUTES
Bits 21–16

Minutes—These bits indicate the value of
the minutes field in the current alarm setting.

This field can be set to any value between 0
and 59. Default is value 0.

Reserved
Bits 15–6

Reserved

These bits are reserved and should be set to
0.

SECONDS
Bit 5–0

Seconds—These bits indicate the value of
the seconds field in the current alarm setting.

This field can be set to any value between 0
and 59. Default is value 0.

Advertising