rtcio_hal_isolate() function
Helper function to disconnect internal circuits from an RTC IO This function disables input, output, pullup, pulldown, and enables hold feature for an RTC IO. Use this function if an RTC IO needs to be disconnected from internal circuits in deep sleep, to minimize leakage current. In particular, for ESP32-WROVER module, call rtc_gpio_isolate(GPIO_NUM_12) before entering deep sleep, to reduce deep sleep current.
Syntax
void rtcio_hal_isolate(int rtc_num); rtcio_hal_isolate() is called by 1 function and calls 5 functions:
![]()
rtcio_hal_isolate()