PWRM_getTransitionLatency
Application Program Interface
2-323
The time required to change a setpoint may not be deterministic
(depending on the hardware characteristics, the underlying Power
Scaling Library implementation, and the specific V/F swing), but it is
bounded by the value returned by PWRM_getTransitionLatency.
Example
PWRM_Status status;
Uns numSetpoints = 16;
Uns frequencyLatency;
Uns voltageLatency;
status = PWRM_getTransitionLatency((numSetpoints - 1),
0, &frequencyLatency, &voltageLatency);
LOG_printf(TRACE,
"Frequency latency: %d, Voltage latency: %d",
frequencyLatency, voltageLatency);
if (status != PWRM_SOK) { /* exit on error */
LOG_printf(TRACE, "Error: status=%x", status);
return;
}
PWRM_EINVALIDVALUE
The operation failed because the
initialSetpoint or finalSetpoint parameter
was invalid.
PWRM_EINVALIDPOINTER
The operation failed because the latency
parameter was NULL.
PWRM_EINITFAILURE
A failure occurred while initializing V/F scal-
ing support; V/F scaling is unavailable
PWRM_ENOTIMPLEMENTED
The operation failed because V/F scaling is
not supported.
Name
Usage