Power Management API Reference
adi_pwr_SaveConfig
Description
This function stores the current configuration values into the memory
area pointed to by the
initialized, its configuration is also saved; otherwise, the appropriate fields
are undefined.
Prototype
ADI_PWR_RESULT adi_pwr_SaveConfig(
const ADI_PWR_CONFIG_HANDLE hConfig,
const size_t szConfig
);
Arguments
hConfig
szConfig
Return Value
In the debug variant of the library,
results codes, otherwise, the value of
ADI_PWR_RESULT_SUCCESS
ADI_PWR_RESULT_NO_MEMORY
ADI_PWR_RESULT_FAILED
ADI_PWR_RESULT_NOT_INITIALIZED
3-32
argument. If the EBIU module is
hConfig
Address of the memory locatioin where the current
configuration is restored
Number of bytes available at the given address.
The value must be greater than or equal to the
adi_pwr_GetConfigSize()
adi_pwr_Init
ADI_PWR_RESULT_SUCCESS
Function completed successfully.
Value of
szConfig
Address of
hConfig
PM module has not been initialized.
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
return value.
returns the following
is returned.
is insufficient.
is zero.
Need help?
Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?