Struct esp32c2::gpio::func_in_sel_cfg::R
source · pub struct R(_);Expand description
Register FUNC%s_IN_SEL_CFG reader
Implementations§
source§impl R
impl R
sourcepub fn in_sel(&self) -> IN_SEL_R
pub fn in_sel(&self) -> IN_SEL_R
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(&self) -> IN_INV_SEL_R
pub fn in_inv_sel(&self) -> IN_INV_SEL_R
Bit 5 - set this bit to invert input signal. 1:invert. 0:not invert.
Methods from Deref<Target = R<FUNC_IN_SEL_CFG_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more