Function esp_idf_sys::pcnt_del_channel
source ยท pub unsafe extern "C" fn pcnt_del_channel(
chan: pcnt_channel_handle_t,
) -> esp_err_t
Expand description
@brief Delete the PCNT channel
@param[in] chan PCNT channel handle created by pcnt_new_channel()
@return
- ESP_OK: Delete the PCNT channel successfully
- ESP_ERR_INVALID_ARG: Delete the PCNT channel failed because of invalid argument
- ESP_FAIL: Delete the PCNT channel failed because of other error