pub struct W(_);
Expand description
Register GPIO10
writer
Implementations
sourceimpl W
impl W
sourcepub fn mcu_oe(&mut self) -> MCU_OE_W<'_>
pub fn mcu_oe(&mut self) -> MCU_OE_W<'_>
Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled.
sourcepub fn slp_sel(&mut self) -> SLP_SEL_W<'_>
pub fn slp_sel(&mut self) -> SLP_SEL_W<'_>
Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode.
sourcepub fn mcu_wpd(&mut self) -> MCU_WPD_W<'_>
pub fn mcu_wpd(&mut self) -> MCU_WPD_W<'_>
Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled.
sourcepub fn mcu_wpu(&mut self) -> MCU_WPU_W<'_>
pub fn mcu_wpu(&mut self) -> MCU_WPU_W<'_>
Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled.
sourcepub fn mcu_ie(&mut self) -> MCU_IE_W<'_>
pub fn mcu_ie(&mut self) -> MCU_IE_W<'_>
Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled.
sourcepub fn fun_wpd(&mut self) -> FUN_WPD_W<'_>
pub fn fun_wpd(&mut self) -> FUN_WPD_W<'_>
Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled.
sourcepub fn fun_wpu(&mut self) -> FUN_WPU_W<'_>
pub fn fun_wpu(&mut self) -> FUN_WPU_W<'_>
Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled.
sourcepub fn fun_ie(&mut self) -> FUN_IE_W<'_>
pub fn fun_ie(&mut self) -> FUN_IE_W<'_>
Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled.
sourcepub fn fun_drv(&mut self) -> FUN_DRV_W<'_>
pub fn fun_drv(&mut self) -> FUN_DRV_W<'_>
Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA.
sourcepub fn mcu_sel(&mut self) -> MCU_SEL_W<'_>
pub fn mcu_sel(&mut self) -> MCU_SEL_W<'_>
Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc.
sourcepub fn filter_en(&mut self) -> FILTER_EN_W<'_>
pub fn filter_en(&mut self) -> FILTER_EN_W<'_>
Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled.
Methods from Deref<Target = W<GPIO10_SPEC>>
Trait Implementations
sourceimpl From<W<GPIO10_SPEC>> for W
impl From<W<GPIO10_SPEC>> for W
sourcefn from(writer: W<GPIO10_SPEC>) -> Self
fn from(writer: W<GPIO10_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