![Freescale Semiconductor MCF52277 Скачать руководство пользователя страница 627](http://html1.mh-extra.com/html/freescale-semiconductor/mcf52277/mcf52277_reference-manual_2330539627.webp)
Real-Time Clock
MCF52277 Reference Manual, Rev. 1
Freescale Semiconductor
26-9
26.3.8
RTC Stopwatch Minutes Register (RTC_STPWCH)
The stopwatch minutes register contains the current stopwatch countdown value. When the minute counter
of the TOD clock increments, value in this register decrements.
26.3.9
RTC Days Counter Register (RTC_DAYS)
The RTC_DAYS register programs the day for the TOD clock. When the RTC_HOURMIN[HOUR] field
rolls over from 23 to 0, 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. Only 16-bit accesses to this register are allowed.
26.3.10 RTC Day Alarm Register (RTC_ALRM_DAY)
The RTC_ALRM_DAY register configures the day for the alarm. The alarm settings can be read or written
at any time.
Address: 0xFC03_C01C (RTC_STPWCH)
Access: User read/write
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
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
CNT
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 1 1 1 1 1 1
Figure 26-9. RTC Stopwatch Minutes Register (RTC_STPWCH)
Table 26-10. RTC_STPWCH Field Descriptions
Field
Description
31–6
Reserved, must be cleared.
5–0
CNT
Stopwatch count. Contains the stopwatch countdown value. Stopwatch counter decrements by the minute (MIN)
tick output from the RTC_HOURMIN register, so the average tolerance of the count is 0.5 minutes. For better
accuracy, enable the stopwatch by polling the RTC_ISR[MIN] bit or via the minute interrupt service routine.
Address: 0xFC03_C020 (RTC_DAYS)
Access: User read/write
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
R 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
DAYS
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 0 0 0 0 0 0
Figure 26-10. RTC Days Counter Register (RTC_DAYS)
Table 26-11. RTC_DAYS Field Descriptions
Field
Description
31–16
Reserved, must be cleared.
15–0
DAYS
Current day count. Set to any value between 0 and 65,535 (0xFFFF).
Содержание MCF52277
Страница 1: ...MCF52277 Reference Manual Devices Supported MCF52274 MCF52277 Document Number MCF52277RM Rev 1 04 2008...
Страница 22: ...MCF52277 Reference Manual Rev 1 Freescale Semiconductor xxii...
Страница 32: ...MCF52277 Reference Manual Rev 0 xxxii Freescale Semiconductor...
Страница 60: ...Signal Descriptions MCF52277 Reference Manual Rev 1 2 16 Freescale Semiconductor...
Страница 112: ...Enhanced Multiply Accumulate Unit EMAC MCF52277 Reference Manual Rev 1 4 20 Freescale Semiconductor...
Страница 128: ...Static RAM SRAM MCF52277 Reference Manual Rev 1 6 6 Freescale Semiconductor...
Страница 140: ...Clock Module MCF52277 Reference Manual Rev 1 7 12 Freescale Semiconductor...
Страница 172: ...Chip Configuration Module CCM MCF52277 Reference Manual Rev 1 9 16 Freescale Semiconductor...
Страница 180: ...Serial Boot Facility SBF MCF52277 Reference Manual Rev 1 10 8 Freescale Semiconductor...
Страница 188: ...Reset Controller Module MCF52277 Reference Manual Rev 1 11 8 Freescale Semiconductor...
Страница 210: ...Crossbar Switch XBS MCF52277 Reference Manual Rev 1 13 8 Freescale Semiconductor...
Страница 480: ...Liquid Crystal Display Controller LCDC MCF52277 Reference Manual Rev 1 21 44 Freescale Semiconductor...
Страница 510: ...Touchscreen Controller Analog to Digital Converter MCF52277 Reference Manual Rev 1 22 30 Freescale Semiconductor...
Страница 542: ...FlexCAN MCF52277 Reference Manual Rev 1 23 32 Freescale Semiconductor...
Страница 568: ...Pulse Width Modulation PWM Module MCF52277 Reference Manual Rev 1 24 26 Freescale Semiconductor...
Страница 640: ...Programmable Interrupt Timers PIT0 PIT1 MCF52277 Reference Manual Rev 1 27 8 Freescale Semiconductor...
Страница 690: ...DMA Serial Peripheral Interface DSPI MCF52277 Reference Manual Rev 1 29 40 Freescale Semiconductor...
Страница 724: ...UART Modules MCF52277 Reference Manual Rev 1 30 34 Freescale Semiconductor...
Страница 740: ...I2 C Interface MCF52277 Reference Manual Rev 1 31 16 Freescale Semiconductor...
Страница 790: ...Debug Module MCF52277 Reference Manual Rev 1 32 50 Freescale Semiconductor...