Struct esp32c2::gpio::func_in_sel_cfg::W
source · pub struct W(_);Expand description
Register FUNC%s_IN_SEL_CFG writer
Implementations§
source§impl W
impl W
sourcepub fn in_sel(&mut self) -> IN_SEL_W<'_, 0>
pub fn in_sel(&mut self) -> IN_SEL_W<'_, 0>
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<'_, 5>
pub fn in_inv_sel(&mut self) -> IN_INV_SEL_W<'_, 5>
Bit 5 - set this bit to invert input signal. 1:invert. 0:not invert.