Function esp_idf_hal::sys::gpio_force_hold_all
source ยท pub unsafe extern "C" fn gpio_force_hold_all() -> i32
Expand description
@brief Force hold all digital and rtc gpio pads.
GPIO force hold, no matter the chip in active mode or sleep modes.
This function will immediately cause all pads to latch the current values of input enable, output enable, output value, function, and drive strength values.
@warning This function will hold flash and UART pins as well. Therefore, this function, and all code run afterwards
(till calling gpio_force_unhold_all
to disable this feature), MUST be placed in internal RAM as holding the flash
pins will halt SPI flash operation, and holding the UART pins will halt any UART logging.