pub unsafe extern "C" fn rmt_set_rx_filter(
    channel: rmt_channel_t,
    rx_filter_en: bool,
    thresh: u8
) -> esp_err_t
Expand description

@brief Set RMT RX filter.

   In receive mode, channel will ignore input pulse when the pulse width is smaller than threshold.
   Counted in source clock, not divided counter clock.

@param channel RMT channel @param rx_filter_en To enable RMT receiver filter. @param thresh Threshold of pulse width for receiver.

@return - ESP_ERR_INVALID_ARG Parameter error - ESP_OK Success