Struct esp32s3_hal::pac::spi0::user::W

pub struct W(_);
Expand description

Register USER writer

Implementations§

Bit 6 - Set this bit to keep SPI_CS low when MSPI is in DONE state.

Bit 7 - Set this bit to keep SPI_CS low when MSPI is in PREP state.

Bit 9 - This bit, combined with SPI_MEM_CK_IDLE_EDGE bit, is used to change the clock mode 0~3 of SPI_CLK.

Bit 26 - SPI_CLK is disabled(No clock edges) in DUMMY phase when the bit is enable.

Bit 29 - This bit enable the DUMMY phase of an SPI transfer.

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.