Struct esp32c2_hal::pac::gpio::func_in_sel_cfg::R
pub struct R(_);
Expand description
Register FUNC%s_IN_SEL_CFG
reader
Implementations
impl R
impl R
pub fn in_sel(&self) -> FieldReaderRaw<u8, u8>
pub fn in_sel(&self) -> FieldReaderRaw<u8, u8>
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.
pub fn in_inv_sel(&self) -> BitReaderRaw<bool>
pub fn in_inv_sel(&self) -> BitReaderRaw<bool>
Bit 5 - set this bit to invert input signal. 1:invert. 0:not invert.
Methods from Deref<Target = R<FUNC_IN_SEL_CFG_SPEC>>
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations
impl From<R<FUNC_IN_SEL_CFG_SPEC>> for R
impl From<R<FUNC_IN_SEL_CFG_SPEC>> for R
fn from(reader: R<FUNC_IN_SEL_CFG_SPEC>) -> R
fn from(reader: R<FUNC_IN_SEL_CFG_SPEC>) -> R
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