Struct esp32c2_hal::pac::spi0::misc::W

pub struct W(_);
Expand description

Register MISC writer

Implementations

Bit 3 - The bit is used to indicate the spi0_mst_st controlled transmitting is done.

Bit 4 - The bit is used to enable the interrupt of spi0_mst_st controlled transmitting is done.

Bit 5 - The bit is used to indicate the spi0_slv_st controlled transmitting is done.

Bit 6 - The bit is used to enable the interrupt of spi0_slv_st controlled transmitting is done.

Bit 9 - 1: spi clk line is high when idle 0: spi clk line is low when idle

Bit 10 - spi cs line keep low when the bit is set.

Writes raw bits to the register.

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