Clock, Reset, and Power Control (CRP)
MPC5510 Microcontroller Family Reference Manual, Rev. 1
5-10
Freescale Semiconductor
Preliminary
5.2.2.6
Z1 Reset Vector Register (CRP_Z1VEC)
The CRP_Z1VEC register contains:
•
Recovery vector for the Z1 core
•
Reset for the Z1 core
•
VLE select for the Z1 core
Table 5-7. CRP_WKSE Field Descriptions
Field
Description
WKPDETn
Wakeup Pin Edge Detection Select. The WKPDETn bits enable the external pin wakeup sources and define
which edge transition is used for the wakeup. (The corresponding inputs must be enabled through the SIU
registers, to allow them to be used as wakeup sources.) These bits map directly to WKPSELn bits in the
CRP_WKPINSEL register.
00 External pin wakeup source disabled
01 Positive edge of selected external pin triggers the wakeup request
10 Negative edge of selected external pin triggers the wakeup request
11 Positive or negative edge of selected external pin triggers the wakeup request
bits 16–20
Reserved.
RTCOVREN
RTC Rollover Wakeup Enable. The RTCOVREN bit enables a rollover of the RTC counter to be a wakeup
source for exit from low-power modes.
0 RTC rollover will not generate a wakeup request from low-power mode
1 RTC rollover will generate a wakeup request from low-power modes.
RTCWKEN
RTC Wakeup Enable. The RTCWKEN bit enables the RTC to be a wakeup source for exit from low-power
modes.
0 RTC not enabled as a wakeup source
1 RTC enabled as a wakeup source
APIWKEN
API Wakeup Enable. The APIWKEN bit enables the API to be a wakeup source for exit from low-power
modes.
0 The API will not generate a wakeup request from low-power mode
1 The API will generate a wakeup request from low-power modes.
bits 24–30
Reserved.
WKCLKSEL
Wakeup Clock Select. The WKCLKSEL bit selects the clock source used for the wakeup logic synchronizer
and edge detect. WKCLKSEL should be switched only when all wakeup sources are disabled.
0 Clock source for wakeup logic is the 32 kHz IRC.
1 Clock source for wakeup logic is the 16 MHz IRC.
Note: The 32 kHz IRC is not automatically enabled if selected; therefore, it must be enabled before it is
selected for use.
Note: When using the 32 kHz IRC to wake up from SLEEP, the application software must wait at least one
32 kHz clock cycle after entering SLEEP before waking up.
Note: The wakeup flag cannot be cleared until at least three 32 kHz cycles after it has been set.