Motorola MC68VZ328 用户手册

下载
页码 376
11-6
MC68VZ328 User’s Manual
Programming Model
11.2.2  
RTC Day Count Register
The real-time clock day count register (DAYR) contains the data from the day counter. The maximum 
value of DAYR is 512. When the hours counter in RTCTIME reaches 23, the next time increment resets it 
to 00 and increments the day counter. This register can be read or written at any time. After a write, the 
current day assumes the new value. This register cannot be reset since it is used to keep the time. The 
settings for the DAYR register are described in Table 11-3.
DAYR
RTC Day Counter Register
0x(ff)FFFB1A
BIT 
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
BIT 
0
DAYS
TYPE
rw
rw
rw
rw
rw
rw
rw
rw
rw
RESET
0
0
0
0
0
0
0
?
?
?
?
?
?
?
?
?
0x0XXX
Table 11-3.   RTC Day Counter Register Description
Name 
Description Setting
Reserved
Bits 15–9
Reserved
These bits are reserved and should be set to 
0.
DAYS
Bits 8–0
Days—This field indicates the current setting 
of the day. 
The bits can be set to any value between 0 
and 511.