Struct esp32c2_hal::pac::spi0::user::W

pub struct W(_);
Expand description

Register USER writer

Implementations§

Bit 6 - spi cs keep low when spi is in done phase. 1: enable 0: disable.

Bit 7 - spi cs is enable when spi is in prepare phase. 1: enable 0: disable.

Bit 9 - the bit combined with spi_mem_mosi_delay_mode bits to set mosi signal delay mode.

Bit 26 - spi clock is disable in dummy phase when the bit is enable.

Bit 29 - This bit enable the dummy phase of an operation.

Writes raw bits to the register.

Methods from Deref<Target = W<USER_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.