Type Alias esp32s2_ulp::rtc_io::pin::R
source · pub type R = R<PIN_SPEC>;
Expand description
Register PIN%s
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
source§impl R
impl R
sourcepub fn gpio_pin_pad_driver(&self) -> GPIO_PIN_PAD_DRIVER_R
pub fn gpio_pin_pad_driver(&self) -> GPIO_PIN_PAD_DRIVER_R
Bit 2 - Pad driver selection. 0: normal output. 1: open drain.
sourcepub fn gpio_pin_int_type(&self) -> GPIO_PIN_INT_TYPE_R
pub fn gpio_pin_int_type(&self) -> GPIO_PIN_INT_TYPE_R
Bits 7:9 - GPIO interrupt type selection. 0: GPIO interrupt disabled. 1: rising edge trigger. 2: falling edge trigger. 3: any edge trigger. 4: low level trigger. 5: high level trigger.
sourcepub fn gpio_pin_wakeup_enable(&self) -> GPIO_PIN_WAKEUP_ENABLE_R
pub fn gpio_pin_wakeup_enable(&self) -> GPIO_PIN_WAKEUP_ENABLE_R
Bit 10 - GPIO wake-up enable. This will only wake up ESP32-S2 from Light-sleep.