Function esp_idf_svc::hal::sys::rmt_set_rx_thr_intr_en

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

@brief Set RMT RX threshold event interrupt enable

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

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

@return - ESP_ERR_INVALID_ARG Parameter error - ESP_OK Success