English
Language : 

PXN20RM Datasheet, PDF (141/1376 Pages) Freescale Semiconductor, Inc – PXN20 Microcontroller
Field
RTCF
APIF
ROVRF
Clocks, Reset, and Power (CRP)
Table 6-4. CRP_RTSC Field Descriptions
Description
RTC Interrupt Flag. The RTCF bit indicates that the RTC counter has reached the counter value matching
RTCVAL. RTCF is cleared by writing a 1 to RTCF. Writing a 0 to RTCF has no effect. Note that the RTCF bit
must be cleared before entering sleep mode, if the RTC is to be used as the wakeup source.
0 No RTC interrupt.
1 RTC interrupt.
API Interrupt Flag. The APIF bit indicates that the RTC counter has reached the counter value matching API
offset value. APIF is cleared by writing a 1 to APIF. Writing a 0 to APIF has no effect. Note that the APIF bit
must be cleared before entering SLEEP mode, if the API is to be used as the wakeup source.
0 No API interrupt.
1 API interrupt.
Counter Roll Over Interrupt Flag. The ROVRF bit indicates that the RTC has rolled over from 0xFFFF_FFFF
to 0x0000_0000. ROVRF is cleared by writing a 1 to ROVRF. Writing a 0 to ROVRF has no effect. Note that
the ROVRF bit must be cleared before entering sleep mode, if the RTC rollover is to be used as the wakeup
source.
0) RTC has not rolled over.
1) RTC has rolled over.
6.2.2.4 RTC Counter Register (CRP_RTCCNT)
The CRP_RTCCNT register contains the RTC counter value.
Offset: CRP_BASE + 0x0018
Access: User read only
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
R
RTCCNT
W
Reset1 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
1 These bits are only reset by power-on: VDD15 LVI, VDD33 LVI, and VDDSYN LVI, VDD5 low LVI, and VDD5 LVI.
Figure 6-5. RTC Counter Register (CRP_RTCCNT)
Table 6-5. CRP_RTCCNT Field Descriptions
Field
RTCCNT
Description
RTC Counter Value. Due to the clock synchronization, the RTCCNT value may actually represent a previous
counter value
6.2.2.5 Pin Wakeup Enable Registers (CRP_PWKENH/L)
The CRP_PWKENH and CRP_PWKENL registers enable the pin wakeup sources and select the trigger
edge for the wakeup inputs.
PXN20 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor
6-9