PWRM_getCapabilities
2-316
Example
PWRM_Status status;
Uns capsMask;
/* Query PWRM capabilities on this platform */
status = PWRM_getCapabilities(&capsMask);
LOG_printf(TRACE, "Returned mask=0x%X", capsMask);
if (status != PWRM_SOK) { /* exit on error */
LOG_printf(TRACE, "Status = %x", status);
return;
}
/* exit if V/F scaling not supported */
if ((capsMask & PWRM_CVFSCALING) == 0) {
LOG_printf(TRACE, "V/F scaling not supported");
return;
}