Struct esp32_hal::pac::spi0::slave1::W

pub struct W(_);
Expand description

Register SLAVE1 writer

Implementations§

Bit 0 - In the slave mode it is the enable bit of dummy phase for read-buffer operations.

Bit 1 - In the slave mode it is the enable bit of dummy phase for write-buffer operations.

Bit 2 - In the slave mode it is the enable bit of dummy phase for read-status operations.

Bit 3 - In the slave mode it is the enable bit of dummy phase for write-status operations.

Bits 4:9 - In the slave mode it is the address length in bits for write-buffer operation. The register value shall be (bit_num-1).

Bits 10:15 - In the slave mode it is the address length in bits for read-buffer operation. The register value shall be (bit_num-1).

Bit 25 - In the slave mode 1:read register of SPI_SLV_WR_STATUS 0: read register of SPI_RD_STATUS.

Bit 26 - In the slave mode enable fast read status.

Bits 27:31 - In the slave mode it is the length of status bit.

Writes raw bits to the register.

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