Function esp_idf_svc::sys::rmt_set_tx_thr_intr_en

source ยท
pub unsafe extern "C" fn rmt_set_tx_thr_intr_en(
    channel: u32,
    en: bool,
    evt_thresh: u16,
) -> i32
Expand description

@brief Set RMT TX threshold event interrupt enable

An interrupt will be triggered when the number of transmitted items reaches the threshold value

@param channel RMT channel @param en enable or disable TX event interrupt. @param evt_thresh RMT event interrupt threshold value

@return - ESP_ERR_INVALID_ARG Parameter error - ESP_OK Success