Struct esp32c3::gpio::func_in_sel_cfg::W
source · pub struct W(_);
Expand description
Register FUNC%s_IN_SEL_CFG
writer
Implementations
sourceimpl W
impl W
sourcepub fn in_sel(&mut self) -> IN_SEL_W<'_, 0>
pub fn in_sel(&mut self) -> IN_SEL_W<'_, 0>
Bits 0:4 - set this value: s=0-53: connect GPIO[s] to this port. s=0x38: set this port always high level. s=0x3C: set this port always low level.
sourcepub fn in_inv_sel(&mut self) -> IN_INV_SEL_W<'_, 5>
pub fn in_inv_sel(&mut self) -> IN_INV_SEL_W<'_, 5>
Bit 5 - set this bit to invert input signal. 1:invert. 0:not invert.
Methods from Deref<Target = W<FUNC_IN_SEL_CFG_SPEC>>
Trait Implementations
sourceimpl From<W<FUNC_IN_SEL_CFG_SPEC>> for W
impl From<W<FUNC_IN_SEL_CFG_SPEC>> for W
sourcefn from(writer: W<FUNC_IN_SEL_CFG_SPEC>) -> Self
fn from(writer: W<FUNC_IN_SEL_CFG_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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