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