int eth32_get_pwm_clock_state(eth32 handle, int *state);
handle - The value returned by the eth32_open function.
state - Pointer to a variable which will receive the status of the PWM clock. This will be set to PWM_CLOCK_DISABLED or PWM_CLOCK_ENABLED.
This function returns zero on success and a negative error code on failure. Please see the Error Codes section for possible error codes.