rtc_gpio_set_direction() function
RTC GPIO set direction Configure RTC GPIO direction, such as output only, input only, output and input.
Arguments
gpio_num
GPIO number (e.g. GPIO_NUM_12)
Return value
- ESP_OK Success - ESP_ERR_INVALID_ARG GPIO is not an RTC IO
Examples
rtc_gpio_set_direction() is referenced by 4 libraries and example projects: