Expand description
SPI1 control register.
Structs§
- CTRL_
SPEC - SPI1 control register.
Type Aliases§
- D_POL_R
- Field
D_POL
reader - The bit is used to set MOSI line polarity, 1: high 0, low - D_POL_W
- Field
D_POL
writer - The bit is used to set MOSI line polarity, 1: high 0, low - FADDR_
OCT_ R - Field
FADDR_OCT
reader - Apply 8 signals during address phase 1:enable 0: disable - FASTRD_
MODE_ R - 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. - FASTRD_
MODE_ W - 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. - FCMD_
OCT_ R - Field
FCMD_OCT
reader - Apply 8 signals during command phase 1:enable 0: disable - FCMD_
QUAD_ R - Field
FCMD_QUAD
reader - Apply 4 signals during command phase 1:enable 0: disable - FCMD_
QUAD_ W - Field
FCMD_QUAD
writer - Apply 4 signals during command phase 1:enable 0: disable - FCS_
CRC_ EN_ R - Field
FCS_CRC_EN
reader - For SPI1, initialize crc32 module before writing encrypted data to flash. Active low. - FDIN_
OCT_ R - Field
FDIN_OCT
reader - Apply 8 signals during read-data phase 1:enable 0: disable - FDOUT_
OCT_ R - Field
FDOUT_OCT
reader - Apply 8 signals during write-data phase 1:enable 0: disable - FDUMMY_
RIN_ R - Field
FDUMMY_RIN
reader - 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. - FDUMMY_
RIN_ W - Field
FDUMMY_RIN
writer - 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. - FDUMMY_
WOUT_ R - Field
FDUMMY_WOUT
reader - 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. - FDUMMY_
WOUT_ W - Field
FDUMMY_WOUT
writer - 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. - FREAD_
DIO_ R - Field
FREAD_DIO
reader - In the read operations address phase and read-data phase apply 2 signals. 1: enable 0: disable. - FREAD_
DIO_ W - Field
FREAD_DIO
writer - In the read operations address phase and read-data phase apply 2 signals. 1: enable 0: disable. - FREAD_
DUAL_ R - Field
FREAD_DUAL
reader - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable. - FREAD_
DUAL_ W - Field
FREAD_DUAL
writer - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable. - FREAD_
QIO_ R - Field
FREAD_QIO
reader - In the read operations address phase and read-data phase apply 4 signals. 1: enable 0: disable. - FREAD_
QIO_ W - Field
FREAD_QIO
writer - In the read operations address phase and read-data phase apply 4 signals. 1: enable 0: disable. - FREAD_
QUAD_ R - Field
FREAD_QUAD
reader - In the read operations read-data phase apply 4 signals. 1: enable 0: disable. - FREAD_
QUAD_ W - Field
FREAD_QUAD
writer - In the read operations read-data phase apply 4 signals. 1: enable 0: disable. - Q_POL_R
- Field
Q_POL
reader - The bit is used to set MISO line polarity, 1: high 0, low - Q_POL_W
- Field
Q_POL
writer - The bit is used to set MISO line polarity, 1: high 0, low - R
- Register
CTRL
reader - RESANDRES_
R - Field
RESANDRES
reader - 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. - RESANDRES_
W - Field
RESANDRES
writer - 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. - TX_
CRC_ EN_ R - Field
TX_CRC_EN
reader - For SPI1, enable crc32 when writing encrypted data to flash. 1: enable 0:disable - W
- Register
CTRL
writer - WP_R
- Field
WP
reader - Write protect signal output when SPI is idle. 1: output high, 0: output low. - WP_W
- Field
WP
writer - Write protect signal output when SPI is idle. 1: output high, 0: output low. - WRSR_
2B_ R - Field
WRSR_2B
reader - two bytes data will be written to status register when it is set. 1: enable 0: disable. - WRSR_
2B_ W - Field
WRSR_2B
writer - two bytes data will be written to status register when it is set. 1: enable 0: disable.