Type Alias esp32c3::i2c0::scl_stretch_conf::R

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

Register SCL_STRETCH_CONF reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn stretch_protect_num(&self) -> STRETCH_PROTECT_NUM_R

Bits 0:9 - reg_stretch_protect_num

source

pub fn slave_scl_stretch_en(&self) -> SLAVE_SCL_STRETCH_EN_R

Bit 10 - reg_slave_scl_stretch_en

source

pub fn slave_byte_ack_ctl_en(&self) -> SLAVE_BYTE_ACK_CTL_EN_R

Bit 12 - reg_slave_byte_ack_ctl_en

source

pub fn slave_byte_ack_lvl(&self) -> SLAVE_BYTE_ACK_LVL_R

Bit 13 - reg_slave_byte_ack_lvl