pub type W = W<PIN4_SPEC>;
Expand description
Register PIN4
writer
Aliased Type§
pub struct W { /* private fields */ }
Implementations§
Source§impl W
impl W
Sourcepub fn pad_driver(&mut self) -> PAD_DRIVER_W<'_, PIN4_SPEC>
pub fn pad_driver(&mut self) -> PAD_DRIVER_W<'_, PIN4_SPEC>
Bit 2 - if set to 0: normal output, if set to 1: open drain
Sourcepub fn int_type(&mut self) -> INT_TYPE_W<'_, PIN4_SPEC>
pub fn int_type(&mut self) -> INT_TYPE_W<'_, PIN4_SPEC>
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<'_, PIN4_SPEC>
pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W<'_, PIN4_SPEC>
Bit 10 - RTC GPIO wakeup enable bit