pub unsafe extern "C" fn mcpwm_capture_channel_trigger_soft_catch(
    cap_channel: mcpwm_cap_channel_handle_t
) -> esp_err_t
Expand description

@brief Trigger a catch by software

@param[in] cap_channel MCPWM capture channel handle, allocated by mcpwm_new_capture_channel() @return - ESP_OK: Trigger software catch successfully - ESP_ERR_INVALID_ARG: Trigger software catch failed because of invalid argument - ESP_ERR_INVALID_STATE: Trigger software catch failed because the channel is not enabled yet - ESP_FAIL: Trigger software catch failed because of other error