pub struct R(_);
Expand description
Register GPIO22
reader
Implementations
sourceimpl R
impl R
sourcepub fn mcu_oe(&self) -> MCU_OE_R
pub fn mcu_oe(&self) -> MCU_OE_R
Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output.
sourcepub fn slp_sel(&self) -> SLP_SEL_R
pub fn slp_sel(&self) -> SLP_SEL_R
Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode.
sourcepub fn mcu_wpd(&self) -> MCU_WPD_R
pub fn mcu_wpd(&self) -> MCU_WPD_R
Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled.
sourcepub fn mcu_wpu(&self) -> MCU_WPU_R
pub fn mcu_wpu(&self) -> MCU_WPU_R
Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled.
sourcepub fn mcu_ie(&self) -> MCU_IE_R
pub fn mcu_ie(&self) -> MCU_IE_R
Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled.
sourcepub fn mcu_drv(&self) -> MCU_DRV_R
pub fn mcu_drv(&self) -> MCU_DRV_R
Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength.
sourcepub fn fun_wpd(&self) -> FUN_WPD_R
pub fn fun_wpd(&self) -> FUN_WPD_R
Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0.
sourcepub fn fun_wpu(&self) -> FUN_WPU_R
pub fn fun_wpu(&self) -> FUN_WPU_R
Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0.
sourcepub fn fun_ie(&self) -> FUN_IE_R
pub fn fun_ie(&self) -> FUN_IE_R
Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled.
Methods from Deref<Target = R<GPIO22_SPEC>>
Trait Implementations
sourceimpl From<R<GPIO22_SPEC>> for R
impl From<R<GPIO22_SPEC>> for R
sourcefn from(reader: R<GPIO22_SPEC>) -> Self
fn from(reader: R<GPIO22_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more