Type Alias esp32c3::i2c0::ctr::W

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

Register CTR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn sda_force_out(&mut self) -> SDA_FORCE_OUT_W<'_, CTR_SPEC>

Bit 0 - reg_sda_force_out

source

pub fn scl_force_out(&mut self) -> SCL_FORCE_OUT_W<'_, CTR_SPEC>

Bit 1 - reg_scl_force_out

source

pub fn sample_scl_level(&mut self) -> SAMPLE_SCL_LEVEL_W<'_, CTR_SPEC>

Bit 2 - reg_sample_scl_level

source

pub fn rx_full_ack_level(&mut self) -> RX_FULL_ACK_LEVEL_W<'_, CTR_SPEC>

Bit 3 - reg_rx_full_ack_level

source

pub fn ms_mode(&mut self) -> MS_MODE_W<'_, CTR_SPEC>

Bit 4 - reg_ms_mode

source

pub fn trans_start(&mut self) -> TRANS_START_W<'_, CTR_SPEC>

Bit 5 - reg_trans_start

source

pub fn tx_lsb_first(&mut self) -> TX_LSB_FIRST_W<'_, CTR_SPEC>

Bit 6 - reg_tx_lsb_first

source

pub fn rx_lsb_first(&mut self) -> RX_LSB_FIRST_W<'_, CTR_SPEC>

Bit 7 - reg_rx_lsb_first

source

pub fn clk_en(&mut self) -> CLK_EN_W<'_, CTR_SPEC>

Bit 8 - reg_clk_en

source

pub fn arbitration_en(&mut self) -> ARBITRATION_EN_W<'_, CTR_SPEC>

Bit 9 - reg_arbitration_en

source

pub fn fsm_rst(&mut self) -> FSM_RST_W<'_, CTR_SPEC>

Bit 10 - reg_fsm_rst

source

pub fn conf_upgate(&mut self) -> CONF_UPGATE_W<'_, CTR_SPEC>

Bit 11 - reg_conf_upgate

source

pub fn slv_tx_auto_start_en(&mut self) -> SLV_TX_AUTO_START_EN_W<'_, CTR_SPEC>

Bit 12 - reg_slv_tx_auto_start_en

source

pub fn addr_10bit_rw_check_en( &mut self ) -> ADDR_10BIT_RW_CHECK_EN_W<'_, CTR_SPEC>

Bit 13 - reg_addr_10bit_rw_check_en

source

pub fn addr_broadcasting_en(&mut self) -> ADDR_BROADCASTING_EN_W<'_, CTR_SPEC>

Bit 14 - reg_addr_broadcasting_en