Rtc Seconds Counter Register (Rtc_Seconds) - Freescale Semiconductor MCF54455 Reference Manual

Table of Contents

Advertisement

Real-Time Clock
Address: 0xFC03_C000 (RTC_HOURMIN)
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9
R 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
W
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 – – – – – 0 0 – – – – – –
Figure 28-2. RTC Hours and Minutes Counter Register (RTC_HOURMIN)
Field
31–13
Reserved, must be cleared.
12–8
Current hour. Set to any value between 0 and 23 (0x17).
HOURS
7–6
Reserved, must be cleared.
5–0
Current minutes. Set to any value between 0 and 59 (0x3B).
MINUTES
28.3.2

RTC Seconds Counter Register (RTC_SECONDS)

The real-time clock seconds register (RTC_SECONDS) programs the seconds for the TOD clock. 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 real-time clock is always enabled at reset.
Address: 0xFC03_C004 (RTC_SECONDS)
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9
R 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
W
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 – – – – – –
Figure 28-3. RTC Seconds Counter Register (RTC_SECONDS)
Field
31–6
Reserved, must be cleared.
5–0
Current seconds. Set to any value between 0 and 59 (0x3B).
SECONDS
28.3.3
RTC Hours and Minutes Alarm Register (RTC_ALRM_HM)
The RTC_ALRM_HM register configures the hours and minutes setting for the alarm. The alarm settings
can be read or written at any time.
28-4
Table 28-3. RTC_HOURMIN Field Descriptions
Description
Table 28-4. RTC_SECONDS Field Descriptions
Description
Access: User read/write
8
7
6
5
4
3
0 0
HOURS
MINUTES
Access: User read/write
8
7
6
5
4
3
SECONDS
Freescale Semiconductor
2
1
0
2
1
0

Advertisement

Table of Contents
loading

Table of Contents