Type Alias esp32c3::gpio::func_in_sel_cfg::W
source · pub type W = W<FUNC_IN_SEL_CFG_SPEC>;
Expand description
Register FUNC%s_IN_SEL_CFG
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn in_sel(&mut self) -> IN_SEL_W<'_, FUNC_IN_SEL_CFG_SPEC>
pub fn in_sel(&mut self) -> IN_SEL_W<'_, FUNC_IN_SEL_CFG_SPEC>
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<'_, FUNC_IN_SEL_CFG_SPEC>
pub fn in_inv_sel(&mut self) -> IN_INV_SEL_W<'_, FUNC_IN_SEL_CFG_SPEC>
Bit 5 - set this bit to invert input signal. 1:invert. 0:not invert.
sourcepub fn sel(&mut self) -> SEL_W<'_, FUNC_IN_SEL_CFG_SPEC>
pub fn sel(&mut self) -> SEL_W<'_, FUNC_IN_SEL_CFG_SPEC>
Bit 6 - set this bit to bypass GPIO. 1:do not bypass GPIO. 0:bypass GPIO.