This is the main function used to generate PWM signals on the
Hercules-EBX. Please consult the Hercules user manual for more information on the PWM circuit. This function can also be used with the
Quartz-MM family of boards, but we recommend using the
dscQMMPulseWidthModulation() function for maximum compatibility.
BYTE dscPWMFunction(
DSCB board,
DSCPWM * dscpwm);
Name | Description
|
board | The board handle
|
dscpwm | Pointer to the DSCPWM struct containing the PWM parameters.
|
Error code or 0.