![NXP Semiconductors MPC5605BK Скачать руководство пользователя страница 232](http://html.mh-extra.com/html/nxp-semiconductors/mpc5605bk/mpc5605bk_reference-manual_1721852232.webp)
Chapter 13 Real Time Clock / Autonomous Periodic Interrupt (RTC/API)
MPC5606BK Microcontroller Reference Manual, Rev. 2
232
Freescale Semiconductor
ROVREN
Counter Roll Over Wakeup/Interrupt Enable
The ROVREN bit enables wakeup and interrupt requests when the RTC has rolled over from
0xFFFF_FFFF to 0x0000_0000. The RTCIE bit must also be set in order to generate an interrupt
from a counter rollover.
1 RTC rollover wakeup/interrupt enabled
0 RTC rollover wakeup/interrupt disabled
RTCVAL
Note:
RTC Compare Value
The RTCVAL bits are compared to bits 10:21 of the RTC counter and if match sets RTCF.
RTCVAL can be updated when the counter is running.
APIEN
Autonomous Periodic Interrupt Enable
The APIEN bit enables the autonomous periodic interrupt function.
1 API enabled
0 API disabled
APIIE
API Interrupt Enable
The APIIE bit enables interrupts requests to the system if APIF is asserted.
1 API interrupts enabled
0 API interrupts disabled
CLKSEL
Clock Select
This field selects the clock source for the RTC. CLKSEL may only be updated when CNTEN is 0.
The user should ensure that oscillator is enabled before selecting it as a clock source for RTC.
00
SXOSC
01
SIRC
10
FIRC
11 Reserved
DIV512EN
Divide by 512 enable
The DIV512EN bit enables the 512 clock divider. DIV512EN may only be updated when CNTEN is
0.
0 Divide by 512 is disabled.
1 Divide by 512 is enabled.
DIV32EN
Divide by 32 enable
The DIV32EN bit enables the 32 clock divider. DIV32EN may only be updated when CNTEN is 0.
0 Divide by 32 is disabled.
1 Divide by 32 is enabled.
APIVAL
API Compare Value
The APIVAL field is compared with bits 22:31 of the RTC counter and if match asserts an
interrupt/wakeup request. APIVAL may only be updated when APIEN is 0 or API function is
undefined.
Note:
API functionality starts only when APIVAL is nonzero. The first API interrupt takes two more
cycles because of synchronization of APIVAL to the RTC clock, and 1 cycles for
subsequent occurrences. After that, interrupts are periodic in nature. The minimum supported
value of APIVAL is 4.
Table 13-3. RTCC field descriptions (continued)
Field
Description
Содержание MPC5605BK
Страница 2: ...This page is intentionally left blank...
Страница 20: ...MPC5606BK Microcontroller Reference Manual Rev 2 20 Freescale Semiconductor...
Страница 103: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 103 Clocks and power...
Страница 104: ...MPC5606BK Microcontroller Reference Manual Rev 2 104 Freescale Semiconductor This page is intentionally left blank...
Страница 243: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 243 Core platform modules...
Страница 244: ...MPC5606BK Microcontroller Reference Manual Rev 2 244 Freescale Semiconductor This page is intentionally left blank...
Страница 395: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 395 Communication modules...
Страница 396: ...MPC5606BK Microcontroller Reference Manual Rev 2 396 Freescale Semiconductor This page is intentionally left blank...
Страница 548: ...Chapter 24 LIN Controller LINFlexD MPC5606BK Microcontroller Reference Manual Rev 2 548 Freescale Semiconductor...
Страница 645: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 643 Timers...
Страница 646: ...MPC5606BK Microcontroller Reference Manual Rev 2 644 Freescale Semiconductor This page is intentionally left blank...
Страница 715: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 713 ADC system...
Страница 716: ...MPC5606BK Microcontroller Reference Manual Rev 2 714 Freescale Semiconductor This page is intentionally left blank...
Страница 787: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 787 Memory...
Страница 788: ...MPC5606BK Microcontroller Reference Manual Rev 2 788 Freescale Semiconductor This page is intentionally left blank...
Страница 893: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 893 Integrity...
Страница 894: ...MPC5606BK Microcontroller Reference Manual Rev 2 894 Freescale Semiconductor This page is intentionally left blank...
Страница 943: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 943 Debug...
Страница 944: ...MPC5606BK Microcontroller Reference Manual Rev 2 944 Freescale Semiconductor This page is intentionally left blank...