Struct esp32c3::i2c0::scl_stretch_conf::R
source · pub struct R(_);
Expand description
Register SCL_STRETCH_CONF
reader
Implementations
sourceimpl R
impl R
sourcepub fn stretch_protect_num(&self) -> STRETCH_PROTECT_NUM_R
pub fn stretch_protect_num(&self) -> STRETCH_PROTECT_NUM_R
Bits 0:9 - reg_stretch_protect_num
sourcepub fn slave_scl_stretch_en(&self) -> SLAVE_SCL_STRETCH_EN_R
pub fn slave_scl_stretch_en(&self) -> SLAVE_SCL_STRETCH_EN_R
Bit 10 - reg_slave_scl_stretch_en
sourcepub fn slave_byte_ack_ctl_en(&self) -> SLAVE_BYTE_ACK_CTL_EN_R
pub fn slave_byte_ack_ctl_en(&self) -> SLAVE_BYTE_ACK_CTL_EN_R
Bit 12 - reg_slave_byte_ack_ctl_en
sourcepub fn slave_byte_ack_lvl(&self) -> SLAVE_BYTE_ACK_LVL_R
pub fn slave_byte_ack_lvl(&self) -> SLAVE_BYTE_ACK_LVL_R
Bit 13 - reg_slave_byte_ack_lvl
Methods from Deref<Target = R<SCL_STRETCH_CONF_SPEC>>
Trait Implementations
sourceimpl From<R<SCL_STRETCH_CONF_SPEC>> for R
impl From<R<SCL_STRETCH_CONF_SPEC>> for R
sourcefn from(reader: R<SCL_STRETCH_CONF_SPEC>) -> Self
fn from(reader: R<SCL_STRETCH_CONF_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more