Expand description
SPI1 control register.
Structs§
- CTRL_
SPEC - SPI1 control register.
Type Aliases§
- D_POL_R
- Field
D_POLreader - The bit is used to set MOSI line polarity, 1: high 0, low - D_POL_W
- Field
D_POLwriter - The bit is used to set MOSI line polarity, 1: high 0, low - FASTRD_
MODE_ R - Field
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. - FASTRD_
MODE_ W - Field
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. - FCMD_
DUAL_ R - Field
FCMD_DUALreader - Apply 2 signals during command phase 1:enable 0: disable - FCMD_
DUAL_ W - Field
FCMD_DUALwriter - Apply 2 signals during command phase 1:enable 0: disable - FCMD_
QUAD_ R - Field
FCMD_QUADreader - Apply 4 signals during command phase 1:enable 0: disable - FCMD_
QUAD_ W - Field
FCMD_QUADwriter - Apply 4 signals during command phase 1:enable 0: disable - FCS_
CRC_ EN_ R - Field
FCS_CRC_ENreader - For SPI1, initialize crc32 module before writing encrypted data to flash. Active low. - FCS_
CRC_ EN_ W - Field
FCS_CRC_ENwriter - For SPI1, initialize crc32 module before writing encrypted data to flash. Active low. - FDUMMY_
OUT_ R - Field
FDUMMY_OUTreader - In the dummy phase the signal level of spi is output by the spi controller. - FDUMMY_
OUT_ W - Field
FDUMMY_OUTwriter - In the dummy phase the signal level of spi is output by the spi controller. - FREAD_
DIO_ R - Field
FREAD_DIOreader - In the read operations address phase and read-data phase apply 2 signals. 1: enable 0: disable. - FREAD_
DIO_ W - Field
FREAD_DIOwriter - In the read operations address phase and read-data phase apply 2 signals. 1: enable 0: disable. - FREAD_
DUAL_ R - Field
FREAD_DUALreader - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable. - FREAD_
DUAL_ W - Field
FREAD_DUALwriter - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable. - FREAD_
QIO_ R - Field
FREAD_QIOreader - In the read operations address phase and read-data phase apply 4 signals. 1: enable 0: disable. - FREAD_
QIO_ W - Field
FREAD_QIOwriter - In the read operations address phase and read-data phase apply 4 signals. 1: enable 0: disable. - FREAD_
QUAD_ R - Field
FREAD_QUADreader - In the read operations read-data phase apply 4 signals. 1: enable 0: disable. - FREAD_
QUAD_ W - Field
FREAD_QUADwriter - In the read operations read-data phase apply 4 signals. 1: enable 0: disable. - Q_POL_R
- Field
Q_POLreader - The bit is used to set MISO line polarity, 1: high 0, low - Q_POL_W
- Field
Q_POLwriter - The bit is used to set MISO line polarity, 1: high 0, low - R
- Register
CTRLreader - RESANDRES_
R - Field
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. - RESANDRES_
W - Field
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. - TX_
CRC_ EN_ R - Field
TX_CRC_ENreader - For SPI1, enable crc32 when writing encrypted data to flash. 1: enable 0:disable - TX_
CRC_ EN_ W - Field
TX_CRC_ENwriter - For SPI1, enable crc32 when writing encrypted data to flash. 1: enable 0:disable - W
- Register
CTRLwriter - WP_R
- Field
WPreader - Write protect signal output when SPI is idle. 1: output high, 0: output low. - WP_W
- Field
WPwriter - Write protect signal output when SPI is idle. 1: output high, 0: output low. - WRSR_
2B_ R - Field
WRSR_2Breader - two bytes data will be written to status register when it is set. 1: enable 0: disable. - WRSR_
2B_ W - Field
WRSR_2Bwriter - two bytes data will be written to status register when it is set. 1: enable 0: disable.