Function esp_idf_sys::rtc_gpio_init
source ยท pub unsafe extern "C" fn rtc_gpio_init(
gpio_num: gpio_num_t,
) -> esp_err_t
Expand description
@brief Init a GPIO as RTC GPIO
This function must be called when initializing a pad for an analog function.
@param gpio_num GPIO number (e.g. GPIO_NUM_12)
@return - ESP_OK success - ESP_ERR_INVALID_ARG GPIO is not an RTC IO