PWRM Module
Application Program Interface
2-309
❏
CPU
. Checking this box causes the CPU clock domain to be idled
during deep sleep. The CPU domain must remain idled if the
CLKGEN domain is idled.
Tconf Name: SLEEPCPU
Type: Bool
Example:
bios.PWRM.SLEEPCPU = true;
❏
Wakeup interrupt mask, IER0
. Specifies the wakeup interrupt mask
for IER0. This mask is loaded into the DSP's Interrupt Enable
Register 0 (IER0) before the PWRM module causes the DSP to
sleep. The bits in IER0 and IER1 determine which interrupts are
enabled. You can use these bits to enable interrupts that can wake
the DSP. For example, a button press by the user might cause an
interrupt that is enabled. The IER mappings for each DSP are
defined in that DSP's data sheet.
Tconf Name: WKUPIER0
Type: Numeric
Example:
bios.PWRM.WKUPIER0 = 0;
❏
Wakeup interrupt mask, IER1
. Specifies the wakeup interrupt mask
for IER1. This mask is loaded into the DSP's Interrupt Enable
Register 1 (IER1) before the PWRM module causes the DSP to
sleep.
Tconf Name: WKUPIER1
Type: Numeric
Example:
bios.PWRM.WKUPIER1 = 0;
❏
Enable sleep until restart
. This property specifies whether "sleep
until restart" mode is enabled. In this mode, the only way to wake the
DSP is to perform a DSP reset.
Tconf Name: SLEEPUNTILRESTART
Type: Bool
Example:
bios.PWRM.SLEEPUNTILRESTART = true;
❏
Enable snooze mode
. Because of the limited DSP timer resolution,
this feature is not currently implemented.
Tconf Name: ENABLESNOOZE
Type: Bool
Example:
bios.PWRM.ENABLESNOOZE = false;
❏
Timer to be used for snooze mode
. Because of the limited DSP
timer resolution, this feature is not currently implemented.
Tconf Name: TIMERFORSNOOZE
Type: EnumString
Options:
"Timer 0", "Timer 1"
Example:
bios.PWRM.TIMERFORSNOOZE = "Timer 1";