int eth32_get_pwm_base_period(eth32 handle, int *period);
This function retrieves the currently configured base period for the PWM channels. See the eth32_set_pwm_base_period function for more information about the PWM base period.
handle - The value returned by the eth32_open function.
period - Pointer to a variable which will receive the currently configured PWM base period, in terms of number of PWM clock counts.
This function returns zero on success and a negative error code on failure. Please see the Error Codes section for possible error codes.