Struct esp32s2::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:5 - Selection control for peripheral input signal m, selects a pad from the 54 GPIO matrix pads to connect this input signal. Or selects 0x38 for a constantly high input or 0x3C for a constantly low input.
sourcepub fn in_inv_sel(&self) -> IN_INV_SEL_R
pub fn in_inv_sel(&self) -> IN_INV_SEL_R
Bit 6 - Invert the input value. 1: invert enabled; 0: invert disabled.
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