Module esp32c6::spi1::spi_mem_ctrl
source · Expand description
SPI1 control register.
Structs
- SPI1 control register.
Type Aliases
- Register
SPI_MEM_CTRLreader - Field
SPI_MEM_D_POLreader - The bit is used to set MOSI line polarity, 1: high 0, low - Field
SPI_MEM_D_POLwriter - The bit is used to set MOSI line polarity, 1: high 0, low - Field
SPI_MEM_FADDR_OCTreader - Apply 8 signals during address phase 1:enable 0: disable - Field
SPI_MEM_FASTRD_MODEreader - 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
SPI_MEM_FASTRD_MODEwriter - 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
SPI_MEM_FCMD_OCTreader - Apply 8 signals during command phase 1:enable 0: disable - Field
SPI_MEM_FCMD_QUADreader - Apply 4 signals during command phase 1:enable 0: disable - Field
SPI_MEM_FCMD_QUADwriter - Apply 4 signals during command phase 1:enable 0: disable - Field
SPI_MEM_FCS_CRC_ENreader - For SPI1, initialize crc32 module before writing encrypted data to flash. Active low. - Field
SPI_MEM_FDIN_OCTreader - Apply 8 signals during read-data phase 1:enable 0: disable - Field
SPI_MEM_FDOUT_OCTreader - Apply 8 signals during write-data phase 1:enable 0: disable - Field
SPI_MEM_FDUMMY_RINreader - In the dummy phase of a MSPI read data transfer when accesses to flash, the signal level of SPI bus is output by the MSPI controller. - Field
SPI_MEM_FDUMMY_RINwriter - In the dummy phase of a MSPI read data transfer when accesses to flash, the signal level of SPI bus is output by the MSPI controller. - Field
SPI_MEM_FDUMMY_WOUTreader - In the dummy phase of a MSPI write data transfer when accesses to flash, the signal level of SPI bus is output by the MSPI controller. - Field
SPI_MEM_FDUMMY_WOUTwriter - In the dummy phase of a MSPI write data transfer when accesses to flash, the signal level of SPI bus is output by the MSPI controller. - Field
SPI_MEM_FREAD_DIOreader - In the read operations address phase and read-data phase apply 2 signals. 1: enable 0: disable. - Field
SPI_MEM_FREAD_DIOwriter - In the read operations address phase and read-data phase apply 2 signals. 1: enable 0: disable. - Field
SPI_MEM_FREAD_DUALreader - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable. - Field
SPI_MEM_FREAD_DUALwriter - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable. - Field
SPI_MEM_FREAD_QIOreader - In the read operations address phase and read-data phase apply 4 signals. 1: enable 0: disable. - Field
SPI_MEM_FREAD_QIOwriter - In the read operations address phase and read-data phase apply 4 signals. 1: enable 0: disable. - Field
SPI_MEM_FREAD_QUADreader - In the read operations read-data phase apply 4 signals. 1: enable 0: disable. - Field
SPI_MEM_FREAD_QUADwriter - In the read operations read-data phase apply 4 signals. 1: enable 0: disable. - Field
SPI_MEM_Q_POLreader - The bit is used to set MISO line polarity, 1: high 0, low - Field
SPI_MEM_Q_POLwriter - The bit is used to set MISO line polarity, 1: high 0, low - Field
SPI_MEM_RESANDRESreader - 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. - Field
SPI_MEM_RESANDRESwriter - 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. - Field
SPI_MEM_TX_CRC_ENreader - For SPI1, enable crc32 when writing encrypted data to flash. 1: enable 0:disable - Field
SPI_MEM_WPreader - Write protect signal output when SPI is idle. 1: output high, 0: output low. - Field
SPI_MEM_WPwriter - Write protect signal output when SPI is idle. 1: output high, 0: output low. - Field
SPI_MEM_WRSR_2Breader - two bytes data will be written to status register when it is set. 1: enable 0: disable. - Field
SPI_MEM_WRSR_2Bwriter - two bytes data will be written to status register when it is set. 1: enable 0: disable. - Register
SPI_MEM_CTRLwriter