Skip to main content

gpio_reset_pin

Function gpio_reset_pin 

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

@brief Reset a GPIO to a certain state (select gpio function, enable pullup and disable input and output).

@param gpio_num GPIO number.

@return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error