DscPWMFunction

Universal Driver Documentation
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.

Function Definition

BYTE dscPWMFunction(DSCB board, DSCPWM * dscpwm);

Function Parameters

NameDescription
boardThe board handle
dscpwmPointer to the DSCPWM struct containing the PWM parameters.

Return Value

Error code or 0.


This page was last modified 11:14, 12 Feb 2004.
Copyright (c) 2004 Diamond Systems. All Rights Reserved.