DscPWMLoad

Universal Driver Documentation
This function loads the specified counter of the specified PWM circuit with value. The behavior of this function is specific to the type of board you are calling this function with. Please note that this function should be used only for direct manipulation of the counters, and is not intended for general PWM configuration. We recommend using the dscPWMFunction() function to do most PWM signal manipulation.

Function Definition

BYTE dscPWMLoad(DSCB board, BYTE pwm_circuit, BYTE counter, DWORD value);

Function Parameters

NameDescription
boardThe board handle
pwm_circuitThe PWM circuit to affect.
counterWhich counter of the PWM circuit to load
valueValue to load into the counter

Return Value

Error code or 0.


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