Function esp_idf_sys::rmt_set_gpio
source ยท pub unsafe extern "C" fn rmt_set_gpio(
channel: rmt_channel_t,
mode: rmt_mode_t,
gpio_num: gpio_num_t,
invert_signal: bool,
) -> esp_err_t
Expand description
@brief Configure the GPIO used by RMT channel
@param channel RMT channel @param mode RMT mode, either RMT_MODE_TX or RMT_MODE_RX @param gpio_num GPIO number, which is connected with certain RMT signal @param invert_signal Invert RMT signal physically by GPIO matrix
@return - ESP_ERR_INVALID_ARG Configure RMT GPIO failed because of wrong parameter - ESP_OK Configure RMT GPIO successfully