Expand description
SPI control register
Structs§
- CTRL_
SPEC - SPI control register
Type Aliases§
- DUMMY_
OUT_ R - Field
DUMMY_OUT
reader - In the dummy phase the signal level of spi is output by the spi controller. Can be configured in CONF state. - DUMMY_
OUT_ W - Field
DUMMY_OUT
writer - In the dummy phase the signal level of spi is output by the spi controller. Can be configured in CONF state. - D_POL_R
- Field
D_POL
reader - The bit is used to set MOSI line polarity, 1: high 0, low. Can be configured in CONF state. - D_POL_W
- Field
D_POL
writer - The bit is used to set MOSI line polarity, 1: high 0, low. Can be configured in CONF state. - EXT_
HOLD_ EN_ R - Field
EXT_HOLD_EN
reader - Set the bit to hold spi. The bit is combined with SPI_USR_PREP_HOLD,SPI_USR_CMD_HOLD,SPI_USR_ADDR_HOLD,SPI_USR_DUMMY_HOLD,SPI_USR_DIN_HOLD,SPI_USR_DOUT_HOLD and SPI_USR_HOLD_POL. Can be configured in CONF state. - EXT_
HOLD_ EN_ W - Field
EXT_HOLD_EN
writer - Set the bit to hold spi. The bit is combined with SPI_USR_PREP_HOLD,SPI_USR_CMD_HOLD,SPI_USR_ADDR_HOLD,SPI_USR_DUMMY_HOLD,SPI_USR_DIN_HOLD,SPI_USR_DOUT_HOLD and SPI_USR_HOLD_POL. Can be configured in CONF state. - FADDR_
DUAL_ R - Field
FADDR_DUAL
reader - Apply 2-bit mode during addr phase 1:enable 0: disable. Can be configured in CONF state. - FADDR_
DUAL_ W - Field
FADDR_DUAL
writer - Apply 2-bit mode during addr phase 1:enable 0: disable. Can be configured in CONF state. - FADDR_
OCT_ R - Field
FADDR_OCT
reader - Apply 8-bit mode during addr phase 1:enable 0: disable. Can be configured in CONF state. - FADDR_
OCT_ W - Field
FADDR_OCT
writer - Apply 8-bit mode during addr phase 1:enable 0: disable. Can be configured in CONF state. - FADDR_
QUAD_ R - Field
FADDR_QUAD
reader - Apply 4-bit mode during addr phase 1:enable 0: disable. Can be configured in CONF state. - FADDR_
QUAD_ W - Field
FADDR_QUAD
writer - Apply 4-bit mode during addr phase 1:enable 0: disable. Can be configured in CONF state. - FCMD_
DUAL_ R - Field
FCMD_DUAL
reader - Apply 2-bit mode during command phase 1:enable 0: disable. Can be configured in CONF state. - FCMD_
DUAL_ W - Field
FCMD_DUAL
writer - Apply 2-bit mode during command phase 1:enable 0: disable. Can be configured in CONF state. - FCMD_
OCT_ R - Field
FCMD_OCT
reader - Apply 8-bit mode during command phase 1:enable 0: disable. Can be configured in CONF state. - FCMD_
OCT_ W - Field
FCMD_OCT
writer - Apply 8-bit mode during command phase 1:enable 0: disable. Can be configured in CONF state. - FCMD_
QUAD_ R - Field
FCMD_QUAD
reader - Apply 4-bit mode during command phase 1:enable 0: disable. Can be configured in CONF state. - FCMD_
QUAD_ W - Field
FCMD_QUAD
writer - Apply 4-bit mode during command phase 1:enable 0: disable. Can be configured in CONF state. - FREAD_
DUAL_ R - Field
FREAD_DUAL
reader - In the read operations, read-data phase is in 2-bit mode. 1: enable 0: disable. Can be configured in CONF state. - FREAD_
DUAL_ W - Field
FREAD_DUAL
writer - In the read operations, read-data phase is in 2-bit mode. 1: enable 0: disable. Can be configured in CONF state. - FREAD_
OCT_ R - Field
FREAD_OCT
reader - In the read operations read-data phase is in 8-bit mode. 1: enable 0: disable. Can be configured in CONF state. - FREAD_
OCT_ W - Field
FREAD_OCT
writer - In the read operations read-data phase is in 8-bit mode. 1: enable 0: disable. Can be configured in CONF state. - FREAD_
QUAD_ R - Field
FREAD_QUAD
reader - In the read operations read-data phase is in 4-bit mode. 1: enable 0: disable. Can be configured in CONF state. - FREAD_
QUAD_ W - Field
FREAD_QUAD
writer - In the read operations read-data phase is in 4-bit mode. 1: enable 0: disable. Can be configured in CONF state. - Q_POL_R
- Field
Q_POL
reader - The bit is used to set MISO line polarity, 1: high 0, low. Can be configured in CONF state. - Q_POL_W
- Field
Q_POL
writer - The bit is used to set MISO line polarity, 1: high 0, low. Can be configured in CONF state. - R
- Register
CTRL
reader - RD_
BIT_ ORDER_ R - Field
RD_BIT_ORDER
reader - In read-data (MISO) phase 1: LSB first 0: MSB first. Can be configured in CONF state. - RD_
BIT_ ORDER_ W - Field
RD_BIT_ORDER
writer - In read-data (MISO) phase 1: LSB first 0: MSB first. Can be configured in CONF state. - W
- Register
CTRL
writer - WP_R
- Field
WP
reader - Write protect signal output when SPI is idle. 1: output high, 0: output low. Can be configured in CONF state. - WP_W
- Field
WP
writer - Write protect signal output when SPI is idle. 1: output high, 0: output low. Can be configured in CONF state. - WR_
BIT_ ORDER_ R - Field
WR_BIT_ORDER
reader - In command address write-data (MOSI) phases 1: LSB firs 0: MSB first. Can be configured in CONF state. - WR_
BIT_ ORDER_ W - Field
WR_BIT_ORDER
writer - In command address write-data (MOSI) phases 1: LSB firs 0: MSB first. Can be configured in CONF state.