PWRM_configure
2-314
idled on entry to the DSP/BIOS idle loop are written to the ICR register
and the IDLE instruction is invoked again to restore the previous idle
configuration.
See the Idling tab of the configuration properties for descriptions of
required interactions between idled clock domains. The bitmask can be
formed using the following predefined mask constants:
PWRM_configure returns one of the following constants as a status value
of type PWRM_Status:
Name
Usage
PWRM_IDLECPU
Idle the CPU clock domain
PWRM_IDLEDMA
Idle the DMA clock domain
PWRM_IDLECACHE
Idle the CACHE clock domain
PWRM_IDLEPERIPH
Idle the PERIPH clock domain
PWRM_IDLECLKGEN
Idle the CLKGEN clock domain
PWRM_IDLEEMIF
Idle the EMIF clock domain
PWRM_IDLEIPORT
Idle the IPORT clock domain (OMAP 2420 only)
PWRM_IDLEHWA
Idle the HWA clock domain (OMAP 2420 only)
PWRM_IDLEMPORT
Idle the MPORT clock domain (OMAP 2420 only)
PWRM_IDLEXPORT
Idle the XPORT clock domain (OMAP 2420 only)
Name
Usage
PWRM_SOK
The operation succeeded.
PWRM_EFAIL
A general failure occurred.
PWRM_EINVALIDPOINTER
The operation failed because the attrs
parameter was NULL.
PWRM_EINVALIDVALUE
The operation failed because the idleMask
is invalid. For example, if the CLKGEN
domain is to be idled, the CPU, DMA, and
CACHE domains must also be idled.