pub unsafe extern "C" fn mcpwm_timer_start_stop(
    timer: mcpwm_timer_handle_t,
    command: mcpwm_timer_start_stop_cmd_t
) -> esp_err_t
Expand description

@brief Send specific start/stop commands to MCPWM timer

@param[in] timer MCPWM timer handle, allocated by mcpwm_new_timer() @param[in] command Supported command list for MCPWM timer @return - ESP_OK: Start or stop MCPWM timer successfully - ESP_ERR_INVALID_ARG: Start or stop MCPWM timer failed because of invalid argument - ESP_ERR_INVALID_STATE: Start or stop MCPWM timer failed because timer is not enabled - ESP_FAIL: Start or stop MCPWM timer failed because of other error