Struct esp32s3_hal::pac::spi1::ctrl::R

pub struct R(_);
Expand description

Register CTRL reader

Implementations§

Bit 3 - In the DUMMY phase the signal level of SPI bus is output by the SPI0 controller.

Bit 4 - Set this bit to enable 8-bit-mode(8-bm) in DOUT phase.

Bit 5 - Set this bit to enable 8-bit-mode(8-bm) in DIN phase.

Bit 6 - Set this bit to enable 8-bit-mode(8-bm) in ADDR phase.

Bit 7 - Set this bit to enable 2-bit-mode(2-bm) in CMD phase.

Bit 8 - Set this bit to enable 4-bit-mode(4-bm) in CMD phase.

Bit 9 - Set this bit to enable 8-bit-mode(8-bm) in CMD phase.

Bit 10 - For SPI1, initialize crc32 module before writing encrypted data to flash. Active low.

Bit 11 - For SPI1, enable crc32 when writing encrypted data to flash. 1: enable 0:disable

Bit 13 - This bit should be set when SPI_MEM_FREAD_QIO, SPI_MEM_FREAD_DIO, SPI_MEM_FREAD_QUAD or SPI_MEM_FREAD_DUAL is set.

Bit 14 - In hardware 0x3B read operation, DIN phase apply 2 signals. 1: enable 0: disable.

Bit 15 - The Device ID is read out to SPI_MEM_RD_STATUS register, this bit combine with spi_mem_flash_res bit. 1: enable 0: disable.

Bit 18 - The bit is used to set MISO line polarity, 1: high 0, low

Bit 19 - The bit is used to set MOSI line polarity, 1: high 0, low

Bit 20 - In hardware 0x6B read operation, DIN phase apply 4 signals(4-bit-mode). 1: enable 0: disable.

Bit 21 - Write protect signal output when SPI is idle. 1: output high, 0: output low.

Bit 22 - Two bytes data will be written to status register when it is set. 1: enable 0: disable.

Bit 23 - In hardware 0xBB read operation, ADDR phase and DIN phase apply 2 signals(2-bit-mode). 1: enable 0: disable.

Bit 24 - In hardware 0xEB read operation, ADDR phase and DIN phase apply 4 signals(4-bit-mode). 1: enable 0: disable.

Methods from Deref<Target = R<CTRL_SPEC>>§

Reads raw bits from register.

Trait Implementations§

The resulting type after dereferencing.
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.