Function esp_idf_sys::gpio_get_drive_capability
source ยท pub unsafe extern "C" fn gpio_get_drive_capability(
gpio_num: gpio_num_t,
strength: *mut gpio_drive_cap_t,
) -> esp_err_t
Expand description
@brief Get GPIO pad drive capability
@param gpio_num GPIO number, only support output GPIOs @param strength Pointer to accept drive capability of the pad
@return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error