pub struct R(_);Expand description
Register PIN%s reader
Implementations§
source§impl R
impl R
sourcepub fn pad_driver(&self) -> PAD_DRIVER_R
pub fn pad_driver(&self) -> PAD_DRIVER_R
Bit 2 - Pad driver selection. 0: normal output. 1: open drain.
sourcepub fn gpio_pin0_int_type(&self) -> GPIO_PIN0_INT_TYPE_R
pub fn gpio_pin0_int_type(&self) -> GPIO_PIN0_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_pin0_wakeup_enable(&self) -> GPIO_PIN0_WAKEUP_ENABLE_R
pub fn gpio_pin0_wakeup_enable(&self) -> GPIO_PIN0_WAKEUP_ENABLE_R
Bit 10 - GPIO wake-up enable. This will only wake up ESP32-S2 from Light-sleep.
Methods from Deref<Target = R<PIN_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more