pub struct W(_);
Expand description
Register PIN%s
writer
Implementations
sourceimpl W
impl W
sourcepub fn pin_pad_driver(&mut self) -> PIN_PAD_DRIVER_W<'_>
pub fn pin_pad_driver(&mut self) -> PIN_PAD_DRIVER_W<'_>
Bit 2 - if set to : normal output if set to 1: open drain
sourcepub fn pin_int_type(&mut self) -> PIN_INT_TYPE_W<'_>
pub fn pin_int_type(&mut self) -> PIN_INT_TYPE_W<'_>
Bits 7:9 - if set to : GPIO interrupt disable if set to 1: rising edge trigger if set to 2: falling edge trigger if set to 3: any edge trigger if set to 4: low level trigger if set to 5: high level trigger
sourcepub fn pin_wakeup_enable(&mut self) -> PIN_WAKEUP_ENABLE_W<'_>
pub fn pin_wakeup_enable(&mut self) -> PIN_WAKEUP_ENABLE_W<'_>
Bit 10 - GPIO wake up enable only available in light sleep
sourcepub fn pin_config(&mut self) -> PIN_CONFIG_W<'_>
pub fn pin_config(&mut self) -> PIN_CONFIG_W<'_>
Bits 11:12 - NA
sourcepub fn pin_int_ena(&mut self) -> PIN_INT_ENA_W<'_>
pub fn pin_int_ena(&mut self) -> PIN_INT_ENA_W<'_>
Bits 13:17 - bit: APP CPU interrupt enable bit1: APP CPU non-maskable interrupt enable bit3: PRO CPU interrupt enable bit4: PRO CPU non-maskable interrupt enable bit5: SDIO’s extent interrupt enable
Methods from Deref<Target = W<PIN_SPEC>>
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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