pub struct R(_);
Expand description
Register PIN%s
reader
Implementations§
source§impl R
impl R
sourcepub fn pad_driver(&self) -> PAD_DRIVER_R
pub fn pad_driver(&self) -> PAD_DRIVER_R
Bit 2 - if set to 0: normal output if set to 1: open drain
sourcepub fn int_type(&self) -> INT_TYPE_R
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
sourcepub fn wakeup_enable(&self) -> WAKEUP_ENABLE_R
pub fn wakeup_enable(&self) -> WAKEUP_ENABLE_R
Bit 10 - GPIO wake up enable only available in light sleep