Function esp_idf_sys::mcpwm_del_timer
source ยท pub unsafe extern "C" fn mcpwm_del_timer(
timer: mcpwm_timer_handle_t,
) -> esp_err_t
Expand description
@brief Delete MCPWM timer
@param[in] timer MCPWM timer handle, allocated by mcpwm_new_timer()
@return
- ESP_OK: Delete MCPWM timer successfully
- ESP_ERR_INVALID_ARG: Delete MCPWM timer failed because of invalid argument
- ESP_ERR_INVALID_STATE: Delete MCPWM timer failed because timer is not in init state
- ESP_FAIL: Delete MCPWM timer failed because of other error