Struct esp32_hal::pac::gpio::func_in_sel_cfg::W
pub struct W(_);
Expand description
Register FUNC%s_IN_SEL_CFG
writer
Implementations§
§impl W
impl W
pub fn in_sel(
&mut self
) -> FieldWriterRaw<'_, u32, FUNC_IN_SEL_CFG_SPEC, u8, u8, Unsafe, 6, 0>
pub fn in_sel(
&mut self
) -> FieldWriterRaw<'_, u32, FUNC_IN_SEL_CFG_SPEC, u8, u8, Unsafe, 6, 0>
Bits 0:5 - select one of the 256 inputs
pub fn in_inv_sel(
&mut self
) -> BitWriterRaw<'_, u32, FUNC_IN_SEL_CFG_SPEC, bool, BitM, 6>
pub fn in_inv_sel(
&mut self
) -> BitWriterRaw<'_, u32, FUNC_IN_SEL_CFG_SPEC, bool, BitM, 6>
Bit 6 - revert the value of the input if you want to revert please set the value to 1
pub fn sel(
&mut self
) -> BitWriterRaw<'_, u32, FUNC_IN_SEL_CFG_SPEC, bool, BitM, 7>
pub fn sel(
&mut self
) -> BitWriterRaw<'_, u32, FUNC_IN_SEL_CFG_SPEC, bool, BitM, 7>
Bit 7 - if the slow signal bypass the io matrix or not if you want setting the value to 1
Methods from Deref<Target = W<FUNC_IN_SEL_CFG_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations§
§impl From<W<FUNC_IN_SEL_CFG_SPEC>> for W
impl From<W<FUNC_IN_SEL_CFG_SPEC>> for W
§fn from(writer: W<FUNC_IN_SEL_CFG_SPEC>) -> W
fn from(writer: W<FUNC_IN_SEL_CFG_SPEC>) -> W
Converts to this type from the input type.