Type Alias 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