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.
BYTE dscPWMLoad(DSCB board, BYTE pwm_circuit, BYTE counter, DWORD value);
Name | Description
|
board | The board handle
|
pwm_circuit | The PWM circuit to affect.
|
counter | Which counter of the PWM circuit to load
|
value | Value to load into the counter
|
Error code or 0.