Rtc Time Register; Table 11-2 Rtc Hours, Minutes, And Seconds Register Description; Programming Model - Motorola MC68VZ328 User Manual

Motorola mc68vz328 integrated processor user's manual
Table of Contents

Advertisement

11.2

Programming Model

Section 11.2.1, "RTC Time Register," through Section 11.2.9, "Stopwatch Minutes Register," provide
programming information on the real-time clock.
11.2.1

RTC Time Register

The real-time clock hours, minutes, and seconds (RTCTIME) register is used to program the hours,
minutes, and seconds. It can be read or written at any time. After a write, the current time assumes the new
values. This register cannot be reset since the real-time clock is always enabled at reset. The settings for the
RTCTIME register are described in Table 11-2.
RTCTIME
RTC Hours, Minutes, and Seconds Register
BIT
30
29
31
TYPE
0
0
RESET
BIT
14
13
15
TYPE
0
0
RESET
Table 11-2. RTC Hours, Minutes, and Seconds Register Description
Name
Reserved
Reserved
Bits 31–29
HOURS
Hours—These bits indicate the current hour.
Bits 28–24
Reserved
Reserved
Bits 23–22
MINUTES
Minutes—These bits indicate the current
Bits 21–16
minute.
Reserved
Reserved
Bits 15–6
SECONDS
Seconds—These bits indicate the current sec-
Bit 5–0
ond.
28
27
26
25
HOURS
rw
rw
rw
rw
0
X
X
X
X
12
11
10
0
0
0
0
Description
Real-Time Clock
24
23
22
21
rw
rw
X
0
0
X
0xXXXX
9
8
7
6
5
rw
0
0
0
0
X
0x00XX
These bits are reserved and should be set to 0.
The bits can be set to any value between 0 and
23.
These bits are reserved and should be set to 0.
The bits can be set to any value between 0 and
59.
These bits are reserved and should be set to 0.
The bits can be set to any value between 0 and
59.
Programming Model
0x(FF)FFFB00
BIT
20
19
18
17
16
MINUTES
rw
rw
rw
rw
rw
X
X
X
X
BIT
4
3
2
1
SECONDS
rw
rw
rw
rw
rw
X
X
X
X
Setting
11-5
X
0
X

Advertisement

Table of Contents
loading

Table of Contents