PWRM_getSetpointInfo
Application Program Interface
2-321
Example
PWRM_Status status;
/* global arrays for saving setpoint info */
#define MAX_SETPOINTS 16
float freq[MAX_SETPOINTS];
float volts[MAX_SETPOINTS];
status = PWRM_getSetpointInfo(i, &freq[i], &volts[i]);
if (status != PWRM_SOK) { /* exit on error */
LOG_printf(TRACE, "Error: status=%x", status);
return;
}