Struct esp32_hal::pac::spi0::slave::W

pub struct W(_);
Expand description

Register SLAVE writer

Implementations§

Bit 0 - The interrupt raw bit for the completion of read-buffer operation in the slave mode.

Bit 1 - The interrupt raw bit for the completion of write-buffer operation in the slave mode.

Bit 2 - The interrupt raw bit for the completion of read-status operation in the slave mode.

Bit 3 - The interrupt raw bit for the completion of write-status operation in the slave mode.

Bit 4 - The interrupt raw bit for the completion of any operation in both the master mode and the slave mode.

Bits 5:9 - Interrupt enable bits for the below 5 sources

Bits 10:11 - In the slave mode this bits used to synchronize the input spi cs signal and eliminate spi cs jitter.

Bit 27 - 1: slave mode commands are defined in SPI_SLAVE3. 0: slave mode commands are fixed as: 1: write-status 2: write-buffer and 3: read-buffer.

Bit 28 - write and read status enable in the slave mode

Bit 29 - write and read buffer enable in the slave mode

Bit 30 - 1: slave mode 0: master mode.

Bit 31 - Software reset enable, reset the spi clock line cs line and data lines.

Writes raw bits to the register.

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