mcpwm_del_comparator() function
Delete MCPWM comparator
Arguments
cmpr
MCPWM comparator handle, allocated by `mcpwm_new_comparator()`
Return value
- 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
Examples
mcpwm_del_comparator() is referenced by 2 libraries and example projects: