Function esp_idf_sys::rtc_gpio_hold_en
source ยท pub unsafe extern "C" fn rtc_gpio_hold_en(
gpio_num: gpio_num_t,
) -> esp_err_t
Expand description
@brief Enable hold function on an RTC IO pad
Enabling HOLD function will cause the pad to latch current values of input enable, output enable, output value, function, drive strength values. This function is useful when going into light or deep sleep mode to prevent the pin configuration from changing.
@param gpio_num GPIO number (e.g. GPIO_NUM_12) @return - ESP_OK Success - ESP_ERR_INVALID_ARG GPIO is not an RTC IO