Type Alias esp32c3::i2c0::scl_stretch_conf::W

source ·
pub type W = W<SCL_STRETCH_CONF_SPEC>;
Expand description

Register SCL_STRETCH_CONF writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn stretch_protect_num( &mut self ) -> STRETCH_PROTECT_NUM_W<'_, SCL_STRETCH_CONF_SPEC>

Bits 0:9 - reg_stretch_protect_num

source

pub fn slave_scl_stretch_en( &mut self ) -> SLAVE_SCL_STRETCH_EN_W<'_, SCL_STRETCH_CONF_SPEC>

Bit 10 - reg_slave_scl_stretch_en

source

pub fn slave_scl_stretch_clr( &mut self ) -> SLAVE_SCL_STRETCH_CLR_W<'_, SCL_STRETCH_CONF_SPEC>

Bit 11 - reg_slave_scl_stretch_clr

source

pub fn slave_byte_ack_ctl_en( &mut self ) -> SLAVE_BYTE_ACK_CTL_EN_W<'_, SCL_STRETCH_CONF_SPEC>

Bit 12 - reg_slave_byte_ack_ctl_en

source

pub fn slave_byte_ack_lvl( &mut self ) -> SLAVE_BYTE_ACK_LVL_W<'_, SCL_STRETCH_CONF_SPEC>

Bit 13 - reg_slave_byte_ack_lvl