Function esp_idf_hal::sys::rmt_del_channel

source ยท
pub unsafe extern "C" fn rmt_del_channel(
    channel: *mut rmt_drv_channel_t,
) -> i32
Expand description

@brief Delete an RMT channel

@param[in] channel RMT generic channel that created by rmt_new_tx_channel() or rmt_new_rx_channel() @return - ESP_OK: Delete RMT channel successfully - ESP_ERR_INVALID_ARG: Delete RMT channel failed because of invalid argument - ESP_ERR_INVALID_STATE: Delete RMT channel failed because it is still in working - ESP_FAIL: Delete RMT channel failed because of other error