23-4
MC9328MX1 Reference Manual
MOTOROLA
Real-Time Clock (RTC)
23.2 Programming Model
The RTC module includes ten 32-bit registers. Table 23-2 summarizes these registers and their addresses.
23.2.1 RTC Days Counter Register
The real-time clock days counter register (DAYR) is used to program the day for the TOD clock. When the
HOUR field of the HOURMIN register rolls over from 23 to 00, the day counter increments. It can be read
or written at any time. After a write, the time changes to the new value. This register cannot be reset
because the real-time clock is always enabled at reset.
NOTE:
This day counter only supports halfword and word write operations. That
means that all 9 bits must be set simultaneously.
Table 23-2. RTC Module Register Memory Map
Description
Name
Address
RTC Days Counter Register
DAYR
0x00204020
RTC Hours and Minutes Counter Register
HOURMIN
0x00204000
RTC Seconds Counter Register
SECONDS
0x00204004
RTC Day Alarm Register
DAYALARM
0x00204024
RTC Hours and Minutes Alarm Register
ALRM_HM
0x00204008
RTC Seconds Alarm Register
ALRM_SEC
0x0020400C
RTC Control Register
RCCTL
0x00204010
RTC Interrupt Status Register
RTCISR
0x00204014
RTC Interrupt Enable Register
RTCIENR
0x00204018
Stopwatch Minutes Register
STPWCH
0x0020401C
DAYR
RTC Days Counter Register
Addr
0x00204020
BIT
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
TYPE
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
RESET
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0x0000
BIT
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
DAYS
TYPE
r
r
r
r
r
r
r
rw
rw
rw
rw
rw
rw
rw
rw
rw
RESET
0
0
0
0
0
0
0
?
?
?
?
?
?
?
?
?
0x0???
Summary of Contents for DragonBall MC9328MX1
Page 68: ...1 12 MC9328MX1 Reference Manual MOTOROLA Introduction ...
Page 86: ...2 18 MC9328MX1 Reference Manual MOTOROLA Signal Descriptions and Pin Assignments ...
Page 116: ...3 30 MC9328MX1 Reference Manual MOTOROLA Memory Map ...
Page 126: ...4 10 MC9328MX1 Reference Manual MOTOROLA ARM920T Processor ...
Page 160: ...8 8 MC9328MX1 Reference Manual MOTOROLA System Control ...
Page 272: ...13 32 MC9328MX1 Reference Manual MOTOROLA DMA Controller ...
Page 281: ...Programming Model MOTOROLA Watchdog Timer Module 14 9 ...
Page 282: ...14 10 MC9328MX1 Reference Manual MOTOROLA Watchdog Timer Module ...
Page 300: ...15 18 MC9328MX1 Reference Manual MOTOROLA Analog Signal Processor ASP ...
Page 438: ...18 16 MC9328MX1 Reference Manual MOTOROLA Serial Peripheral Interface Modules SPI 1 and SPI 2 ...
Page 478: ...19 40 MC9328MX1 Reference Manual MOTOROLA LCD Controller ...
Page 574: ...21 32 MC9328MX1 Reference Manual MOTOROLA Memory Stick Host Controller MSHC Module ...
Page 598: ...23 16 MC9328MX1 Reference Manual MOTOROLA Real Time Clock RTC ...
Page 670: ...24 72 MC9328MX1 Reference Manual MOTOROLA SDRAM Memory Controller ...
Page 726: ...25 56 MC9328MX1 Reference Manual MOTOROLA SmartCard Interface Module SIM ...
Page 736: ...26 10 MC9328MX1 Reference Manual MOTOROLA General Purpose Timers ...
Page 854: ...29 18 MC9328MX1 Reference Manual MOTOROLA I2C Module ...
Page 900: ...30 46 MC9328MX1 Reference Manual MOTOROLA Synchronous Serial Interface SSI ...
Page 942: ...32 26 MC9328MX1 Reference Manual MOTOROLA GPIO Module and I O Multiplexer IOMUX ...