Type Alias R

Source
pub type R = R<PIN14_SPEC>;
Expand description

Register PIN14 reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn pad_driver(&self) -> PAD_DRIVER_R

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

Source

pub fn int_type(&self) -> INT_TYPE_R

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(&self) -> WAKEUP_ENABLE_R

Bit 10 - RTC GPIO wakeup enable bit