Function esp_idf_sys::rmt_set_rx_thr_intr_en

source ยท
pub unsafe extern "C" fn rmt_set_rx_thr_intr_en(
    channel: rmt_channel_t,
    en: bool,
    evt_thresh: u16,
) -> esp_err_t
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