Struct esp32c2_hal::pac::gpio::func_out_sel_cfg::R
pub struct R(_);
Expand description
Register FUNC%s_OUT_SEL_CFG
reader
Implementations§
§impl R
impl R
pub fn out_sel(&self) -> FieldReaderRaw<u8, u8>
pub fn out_sel(&self) -> FieldReaderRaw<u8, u8>
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].
pub fn inv_sel(&self) -> BitReaderRaw<bool>
pub fn inv_sel(&self) -> BitReaderRaw<bool>
Bit 8 - set this bit to invert output signal.1:invert.0:not invert.
pub fn oen_sel(&self) -> BitReaderRaw<bool>
pub fn oen_sel(&self) -> BitReaderRaw<bool>
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.
pub fn oen_inv_sel(&self) -> BitReaderRaw<bool>
pub fn oen_inv_sel(&self) -> BitReaderRaw<bool>
Bit 10 - set this bit to invert output enable signal.1:invert.0:not invert.
Methods from Deref<Target = R<FUNC_OUT_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_OUT_SEL_CFG_SPEC>> for R
impl From<R<FUNC_OUT_SEL_CFG_SPEC>> for R
§fn from(reader: R<FUNC_OUT_SEL_CFG_SPEC>) -> R
fn from(reader: R<FUNC_OUT_SEL_CFG_SPEC>) -> R
Converts to this type from the input type.