PWRM Module
Application Program Interface
2-303
❏
Call user hook function at boot time
. Check this box if you want to
specify a function to be called during application startup. Such a
function is called before the main() function runs.
Tconf Name: BOOTHOOK
Type: Bool
Example:
bios.PWRM.BOOTHOOK = false;
❏
Function
. Specify the function to be called during application startup
if you set the property above to true. The function may be used, for
example to idle clock domains or to turn off or idle powered
resources.
Tconf Name: BOOTHOOKFXN
Type: Extern
Example:
bios.PWRM.BOOTHOOKFXN =
prog.extern("FXN_F_nop");
❏
Reprogram BIOS clock after frequency scaling
. This property
specifies whether the DSP/BIOS clock module should be
reprogrammed after frequency scaling operations. If it is set to true
(the default), the CLK module registers for V/F frequency setpoint
change notifications and is reprogrammed after a setpoint change. If
you do not use DSP timers for CLK functionality (that is, if you use an
external clock trigger), set this property to false to save code space
and eliminate unnecessary steps. If you set this property to true, do
not use the CLK_reconfig, CLK_stop, or CLK_start APIs in your
application.
Tconf Name: ADAPTCLK
Type: Bool
Example:
bios.PWRM.ADAPTCLK = false;
❏
Enable device initialization by PWRM
. Set this to true if you want
PWRM to initialize the DSP device to a low power state at boot time.
This initialization happens before the main() function runs. If PWRM
does not support initialization for the device, this property is not
writeable.
Tconf Name: DEVICEINIT
Type: Bool
Example:
bios.PWRM.DEVICEINIT = false;
❏
Enable resource tracking by PWRM
. Set this to true if you want to
enable the resource tracking feature of PWRM. When enabled, calls
to PWRM_setDependency and PWRM_releaseDependency track
application and OS dependencies on power-manageable resources,
and appropriately power them up or down as needed. If PWRM does
not support resource tracking for the device, this property is not
writeable.
Tconf Name: RESOURCETRACKING
Type: Bool
Example:
bios.PWRM.RESOURCETRACKING = false;