Function esp_idf_svc::hal::sys::gpio_get_drive_capability
source ยท pub unsafe extern "C" fn gpio_get_drive_capability(
gpio_num: i32,
strength: *mut u32,
) -> i32
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