Struct esp32s2::gpio::func_out_sel_cfg::R
source · pub struct R(_);Expand description
Register FUNC%s_OUT_SEL_CFG reader
Implementations§
source§impl R
impl R
sourcepub fn out_sel(&self) -> OUT_SEL_R
pub fn out_sel(&self) -> OUT_SEL_R
Bits 0:8 - Selection control for GPIO output n. If a value s (0<=s<256) is written to this field, the peripheral output signal s will be connected to GPIO output n. If a value 256 is written to this field, bit n of GPIO_OUT_REG/GPIO_OUT1_REG and GPIO_ENABLE_REG/GPIO_ENABLE1_REG will be selected as the output value and output enable.
sourcepub fn inv_sel(&self) -> INV_SEL_R
pub fn inv_sel(&self) -> INV_SEL_R
Bit 9 - 0: Do not invert the output value; 1: Invert the output value.
sourcepub fn oen_sel(&self) -> OEN_SEL_R
pub fn oen_sel(&self) -> OEN_SEL_R
Bit 10 - 0: Use output enable signal from peripheral; 1: Force the output enable signal to be sourced from bit n of GPIO_ENABLE_REG.
sourcepub fn oen_inv_sel(&self) -> OEN_INV_SEL_R
pub fn oen_inv_sel(&self) -> OEN_INV_SEL_R
Bit 11 - 0: Do not invert the output enable signal; 1: Invert the output enable signal.