The function takes as inputs the desired counter, output frequency, and duty cycle. It returns status information indicating the selected input frequency, the resulting load and hold register values, and a flag indicating whether the function has reached either duty cycle limit.
BYTE dscQMMPulseWidthModulation(DSCB board, DSCQMMPWM* pwm);
Name | Description |
---|---|
board | The handle of the board to operate on |
pwm | Structure containing configuration data for the function; see definition DSCQMMPWM. |
Error code or 0.
This page was last modified 12:22, 12 Feb 2004.
Copyright (c) 2004 Diamond Systems. All Rights Reserved.