pub struct W(_);Expand description
Register PIN%s writer
Implementations§
source§impl 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 - if set to 0: normal output if set to 1: open drain
sourcepub fn int_type(&mut self) -> INT_TYPE_W<'_, 7>
pub fn int_type(&mut self) -> INT_TYPE_W<'_, 7>
Bits 7:9 - if set to 0: 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 wakeup_enable(&mut self) -> WAKEUP_ENABLE_W<'_, 10>
pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W<'_, 10>
Bit 10 - GPIO wake up enable only available in light sleep