Struct esp32c3::i2c0::scl_stretch_conf::W
source · pub struct W(_);Expand description
Register SCL_STRETCH_CONF writer
Implementations§
source§impl W
impl W
sourcepub fn stretch_protect_num(&mut self) -> STRETCH_PROTECT_NUM_W<'_, 0>
pub fn stretch_protect_num(&mut self) -> STRETCH_PROTECT_NUM_W<'_, 0>
Bits 0:9 - reg_stretch_protect_num
sourcepub fn slave_scl_stretch_en(&mut self) -> SLAVE_SCL_STRETCH_EN_W<'_, 10>
pub fn slave_scl_stretch_en(&mut self) -> SLAVE_SCL_STRETCH_EN_W<'_, 10>
Bit 10 - reg_slave_scl_stretch_en
sourcepub fn slave_scl_stretch_clr(&mut self) -> SLAVE_SCL_STRETCH_CLR_W<'_, 11>
pub fn slave_scl_stretch_clr(&mut self) -> SLAVE_SCL_STRETCH_CLR_W<'_, 11>
Bit 11 - reg_slave_scl_stretch_clr
sourcepub fn slave_byte_ack_ctl_en(&mut self) -> SLAVE_BYTE_ACK_CTL_EN_W<'_, 12>
pub fn slave_byte_ack_ctl_en(&mut self) -> SLAVE_BYTE_ACK_CTL_EN_W<'_, 12>
Bit 12 - reg_slave_byte_ack_ctl_en
sourcepub fn slave_byte_ack_lvl(&mut self) -> SLAVE_BYTE_ACK_LVL_W<'_, 13>
pub fn slave_byte_ack_lvl(&mut self) -> SLAVE_BYTE_ACK_LVL_W<'_, 13>
Bit 13 - reg_slave_byte_ack_lvl
Methods from Deref<Target = W<SCL_STRETCH_CONF_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more