[−][src]Function esp_idf_sys::rmt_set_rx_filter
pub unsafe extern "C" fn rmt_set_rx_filter(
channel: rmt_channel_t,
rx_filter_en: bool,
thresh: u8
) -> esp_err_t
@brief Set RMT RX filter.
In receive mode, channel 0-7 will ignore input pulse when the pulse width is smaller than threshold. Counted in source clock, not divided counter clock.
@param channel RMT channel (0-7) @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