int eth32_set_pwm_clock_state(eth32 handle, int state);
This function enables or disables the PWM clock from counting. The PWM clock is shared between both PWM outputs of the device. When the PWM clock is disabled, the PWM outputs will be idle (not pulsing). The PWM clock may be enabled or disabled independently of whether the individual PWM channel outputs are enabled or disabled.
handle - The value returned by the eth32_open function.
state - This may be PWM_CLOCK_DISABLED to disable the clock or PWM_CLOCK_ENABLED to enable the clock.
This function returns zero on success and a negative error code on failure. Please see the Error Codes section for possible error codes.