Function esp_idf_svc::hal::sys::rmt_set_rx_idle_thresh

source ยท
pub unsafe extern "C" fn rmt_set_rx_idle_thresh(
    channel: u32,
    thresh: u16,
) -> i32
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