pub struct W(_);Expand description
Register PIN%s writer
Implementations
sourceimpl W
impl W
sourcepub fn pad_driver(&mut self) -> PAD_DRIVER_W<'_, 2>
pub fn pad_driver(&mut self) -> PAD_DRIVER_W<'_, 2>
Bit 2 - Pad driver selection. 0: normal output. 1: open drain.
sourcepub fn gpio_pin0_int_type(&mut self) -> GPIO_PIN0_INT_TYPE_W<'_, 7>
pub fn gpio_pin0_int_type(&mut self) -> GPIO_PIN0_INT_TYPE_W<'_, 7>
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(&mut self) -> GPIO_PIN0_WAKEUP_ENABLE_W<'_, 10>
pub fn gpio_pin0_wakeup_enable(&mut self) -> GPIO_PIN0_WAKEUP_ENABLE_W<'_, 10>
Bit 10 - GPIO wake-up enable. This will only wake up ESP32-S2 from Light-sleep.
Methods from Deref<Target = W<PIN_SPEC>>
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more