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
rtc_gpio_set_direction() is called by 5 functions and calls 7 functions:
![]()
rtc_gpio_set_direction()
rtc_gpio_set_direction() reads 6 variables:
![]()
rtc_gpio_set_direction()