Function esp_idf_svc::sys::gpio_set_drive_capability

source ยท
pub unsafe extern "C" fn gpio_set_drive_capability(
    gpio_num: i32,
    strength: u32,
) -> i32
Expand description

@brief Set GPIO pad drive capability

@param gpio_num GPIO number, only support output GPIOs @param strength Drive capability of the pad

@return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error