EasyManua.ls Logo

Freescale Semiconductor MPC5604B - Page 259

Default Icon
934 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MPC5604B/C Microcontroller Reference Manual, Rev. 8
248 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 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.
Note: RTCVAL = 0 does not generate an interrupt.
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 non zero. The first API interrupt takes two more
cycles because of synchronization of APIVAL to the RTC clock. After that interrupts are
periodic in nature. The minimum supported value of APIVAL is 4.
Table 13-3. RTCC field descriptions (continued)
Field Description

Table of Contents

Other manuals for Freescale Semiconductor MPC5604B

Related product manuals