Type Alias W

Source
pub type W = W<PIN11_SPEC>;
Expand description

Register PIN11 writer

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn pad_driver(&mut self) -> PAD_DRIVER_W<'_, PIN11_SPEC>

Bit 2 - if set to 0: normal output, if set to 1: open drain

Source

pub fn int_type(&mut self) -> INT_TYPE_W<'_, PIN11_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

Source

pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W<'_, PIN11_SPEC>

Bit 10 - RTC GPIO wakeup enable bit