Function esp_idf_sys::mcpwm_del_generator
source ยท pub unsafe extern "C" fn mcpwm_del_generator(
gen: mcpwm_gen_handle_t,
) -> esp_err_t
Expand description
@brief Delete MCPWM generator
@param[in] gen MCPWM generator handle, allocated by mcpwm_new_generator()
@return
- ESP_OK: Delete MCPWM generator successfully
- ESP_ERR_INVALID_ARG: Delete MCPWM generator failed because of invalid argument
- ESP_FAIL: Delete MCPWM generator failed because of other error