Module esp32s3_hal::gpio::rtc_io
source · Expand description
RTC IO
§Overview
The hardware provides a couple of GPIO pins with low power (LP) capabilities and analog functions. These pins can be controlled by either IO MUX or RTC IO.
If controlled by RTC IO, these pins will bypass IO MUX and GPIO matrix for the use by ULP and peripherals in RTC system.
When configured as RTC GPIOs, the pins can still be controlled by ULP or the peripherals in RTC system during chip Deep-sleep, and wake up the chip from Deep-sleep.
§Example
let io = IO::new(peripherals.GPIO, peripherals.IO_MUX);
// configure GPIO 1 as ULP output pin
let lp_pin = io.pins.gpio1.into_low_power().into_push_pull_output();
Structs§
- A GPIO pin configured for low power operation
Traits§
- Configures a pin for use as a low power pin