Type Alias esp32c3::gpio::func_in_sel_cfg::R

source ·
pub type R = R<FUNC_IN_SEL_CFG_SPEC>;
Expand description

Register FUNC%s_IN_SEL_CFG reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn in_sel(&self) -> IN_SEL_R

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.

source

pub fn in_inv_sel(&self) -> IN_INV_SEL_R

Bit 5 - set this bit to invert input signal. 1:invert. 0:not invert.

source

pub fn sel(&self) -> SEL_R

Bit 6 - set this bit to bypass GPIO. 1:do not bypass GPIO. 0:bypass GPIO.