Function esp_idf_svc::hal::sys::mcpwm_del_comparator
source ยท pub unsafe extern "C" fn mcpwm_del_comparator(
cmpr: *mut mcpwm_cmpr_t,
) -> i32
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