[][src]Function esp_idf_sys::rmt_wait_tx_done

pub unsafe extern "C" fn rmt_wait_tx_done(
    channel: rmt_channel_t,
    wait_time: TickType_t
) -> esp_err_t

@brief Wait RMT TX finished.

@param channel RMT channel (0 - 7) @param wait_time Maximum time in ticks to wait for transmission to be complete. If set 0, return immediately with ESP_ERR_TIMEOUT if TX is busy (polling).

@return - ESP_OK RMT Tx done successfully - ESP_ERR_TIMEOUT Exceeded the 'wait_time' given - ESP_ERR_INVALID_ARG Parameter error - ESP_FAIL Driver not installed