Struct esp32c3_hal::pac::i2c0::ctr::W

pub struct W(_);
Expand description

Register CTR writer

Implementations

Bit 0 - reg_sda_force_out

Bit 1 - reg_scl_force_out

Bit 2 - reg_sample_scl_level

Bit 3 - reg_rx_full_ack_level

Bit 4 - reg_ms_mode

Bit 5 - reg_trans_start

Bit 6 - reg_tx_lsb_first

Bit 7 - reg_rx_lsb_first

Bit 8 - reg_clk_en

Bit 9 - reg_arbitration_en

Bit 10 - reg_fsm_rst

Bit 11 - reg_conf_upgate

Bit 12 - reg_slv_tx_auto_start_en

Bit 13 - reg_addr_10bit_rw_check_en

Bit 14 - reg_addr_broadcasting_en

Writes raw bits to the register.

Methods from Deref<Target = W<CTR_SPEC>>

Writes raw bits to the register.

Safety

Read datasheet or reference manual to find what values are allowed to pass.

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.