Module esp32h2::spi0::ctrl

source ·
Expand description

SPI0 control register.

Structs§

Type Aliases§

  • Field DATA_IE_ALWAYS_ON reader - When accesses to flash, 1: the IE signals of pads connected to SPI_IO[7:0] are always 1. 0: Others.
  • Field DATA_IE_ALWAYS_ON writer - When accesses to flash, 1: the IE signals of pads connected to SPI_IO[7:0] are always 1. 0: Others.
  • Field DQS_IE_ALWAYS_ON reader - When accesses to flash, 1: the IE signals of pads connected to SPI_DQS are always 1. 0: Others.
  • Field D_POL reader - The bit is used to set MOSI line polarity, 1: high 0, low
  • Field D_POL writer - The bit is used to set MOSI line polarity, 1: high 0, low
  • Field FADDR_OCT reader - Apply 8 signals during address phase 1:enable 0: disable
  • Field FASTRD_MODE reader - This bit enable the bits: SPI_MEM_FREAD_QIO, SPI_MEM_FREAD_DIO, SPI_MEM_FREAD_QOUT and SPI_MEM_FREAD_DOUT. 1: enable 0: disable.
  • Field FASTRD_MODE writer - This bit enable the bits: SPI_MEM_FREAD_QIO, SPI_MEM_FREAD_DIO, SPI_MEM_FREAD_QOUT and SPI_MEM_FREAD_DOUT. 1: enable 0: disable.
  • Field FCMD_OCT reader - Apply 8 signals during command phase 1:enable 0: disable
  • Field FCMD_QUAD reader - Apply 4 signals during command phase 1:enable 0: disable
  • Field FCMD_QUAD writer - Apply 4 signals during command phase 1:enable 0: disable
  • Field FDIN_OCT reader - Apply 8 signals during read-data phase 1:enable 0: disable
  • Field FDOUT_OCT reader - Apply 8 signals during write-data phase 1:enable 0: disable
  • Field FDUMMY_RIN reader - In an MSPI read data transfer when accesses to flash, the level of SPI_IO[7:0] is output by the MSPI controller in the first half part of dummy phase. It is used to mask invalid SPI_DQS in the half part of dummy phase.
  • Field FDUMMY_RIN writer - In an MSPI read data transfer when accesses to flash, the level of SPI_IO[7:0] is output by the MSPI controller in the first half part of dummy phase. It is used to mask invalid SPI_DQS in the half part of dummy phase.
  • Field FDUMMY_WOUT reader - In an MSPI write data transfer when accesses to flash, the level of SPI_IO[7:0] is output by the MSPI controller in the second half part of dummy phase. It is used to pre-drive flash.
  • Field FDUMMY_WOUT writer - In an MSPI write data transfer when accesses to flash, the level of SPI_IO[7:0] is output by the MSPI controller in the second half part of dummy phase. It is used to pre-drive flash.
  • Field FREAD_DIO reader - In the read operations address phase and read-data phase apply 2 signals. 1: enable 0: disable.
  • Field FREAD_DIO writer - In the read operations address phase and read-data phase apply 2 signals. 1: enable 0: disable.
  • Field FREAD_DUAL reader - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable.
  • Field FREAD_DUAL writer - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable.
  • Field FREAD_QIO reader - In the read operations address phase and read-data phase apply 4 signals. 1: enable 0: disable.
  • Field FREAD_QIO writer - In the read operations address phase and read-data phase apply 4 signals. 1: enable 0: disable.
  • Field FREAD_QUAD reader - In the read operations read-data phase apply 4 signals. 1: enable 0: disable.
  • Field FREAD_QUAD writer - In the read operations read-data phase apply 4 signals. 1: enable 0: disable.
  • Field Q_POL reader - The bit is used to set MISO line polarity, 1: high 0, low
  • Field Q_POL writer - The bit is used to set MISO line polarity, 1: high 0, low
  • Register CTRL reader
  • Register CTRL writer
  • Field WDUMMY_ALWAYS_OUT reader - In the dummy phase of an MSPI write data transfer when accesses to flash, the level of SPI_IO[7:0] is output by the MSPI controller.
  • Field WDUMMY_ALWAYS_OUT writer - In the dummy phase of an MSPI write data transfer when accesses to flash, the level of SPI_IO[7:0] is output by the MSPI controller.
  • Field WDUMMY_DQS_ALWAYS_OUT reader - In the dummy phase of an MSPI write data transfer when accesses to flash, the level of SPI_DQS is output by the MSPI controller.
  • Field WP reader - Write protect signal output when SPI is idle. 1: output high, 0: output low.
  • Field WP writer - Write protect signal output when SPI is idle. 1: output high, 0: output low.