Function esp_idf_svc::hal::sys::gpio_reset_pin

source ยท
pub unsafe extern "C" fn gpio_reset_pin(gpio_num: i32) -> i32
Expand description

@brief Reset an gpio to default state (select gpio function, enable pullup and disable input and output).

@param gpio_num GPIO number.

@note This function also configures the IOMUX for this pin to the GPIO function, and disconnects any other peripheral output configured via GPIO Matrix.

@return Always return ESP_OK.