Type Alias esp32c3::gpio::func_out_sel_cfg::W
source · pub type W = W<FUNC_OUT_SEL_CFG_SPEC>;
Expand description
Register FUNC%s_OUT_SEL_CFG
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn out_sel(&mut self) -> OUT_SEL_W<'_, FUNC_OUT_SEL_CFG_SPEC>
pub fn out_sel(&mut self) -> OUT_SEL_W<'_, FUNC_OUT_SEL_CFG_SPEC>
Bits 0:7 - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO[n] equals input of peripheral[s]. s=256: output of GPIO[n] equals GPIO_OUT_REG[n].
sourcepub fn inv_sel(&mut self) -> INV_SEL_W<'_, FUNC_OUT_SEL_CFG_SPEC>
pub fn inv_sel(&mut self) -> INV_SEL_W<'_, FUNC_OUT_SEL_CFG_SPEC>
Bit 8 - set this bit to invert output signal.1:invert.0:not invert.
sourcepub fn oen_sel(&mut self) -> OEN_SEL_W<'_, FUNC_OUT_SEL_CFG_SPEC>
pub fn oen_sel(&mut self) -> OEN_SEL_W<'_, FUNC_OUT_SEL_CFG_SPEC>
Bit 9 - set this bit to select output enable signal.1:use GPIO_ENABLE_REG[n] as output enable signal.0:use peripheral output enable signal.
sourcepub fn oen_inv_sel(&mut self) -> OEN_INV_SEL_W<'_, FUNC_OUT_SEL_CFG_SPEC>
pub fn oen_inv_sel(&mut self) -> OEN_INV_SEL_W<'_, FUNC_OUT_SEL_CFG_SPEC>
Bit 10 - set this bit to invert output enable signal.1:invert.0:not invert.