pub unsafe extern "C" fn mcpwm_capture_timer_get_resolution(
    cap_timer: mcpwm_cap_timer_handle_t,
    out_resolution: *mut u32
) -> esp_err_t
Expand description

@brief Get MCPWM capture timer resolution, in Hz

@param[in] cap_timer MCPWM capture timer, allocated by mcpwm_new_capture_timer() @param[out] out_resolution Returned capture timer resolution, in Hz @return - ESP_OK: Get capture timer resolution successfully - ESP_ERR_INVALID_ARG: Get capture timer resolution failed because of invalid argument - ESP_FAIL: Get capture timer resolution failed because of other error