pub unsafe extern "C" fn rmt_set_rx_idle_thresh(
    channel: rmt_channel_t,
    thresh: u16
) -> esp_err_t
Expand description

@brief Set RMT RX idle threshold value

   In receive mode, when no edge is detected on the input signal
   for longer than idle_thres channel clock cycles,
   the receive process is finished.

@param channel RMT channel @param thresh RMT RX idle threshold

@return - ESP_ERR_INVALID_ARG Parameter error - ESP_OK Success