Expand description
SPI control register
Structs
- SPI control register
Type Aliases
- Field
DUMMY_OUTreader - In the dummy phase the signal level of spi is output by the spi controller. Can be configured in CONF state. - Field
DUMMY_OUTwriter - In the dummy phase the signal level of spi is output by the spi controller. Can be configured in CONF state. - Field
D_POLreader - The bit is used to set MOSI line polarity, 1: high 0, low. Can be configured in CONF state. - Field
D_POLwriter - The bit is used to set MOSI line polarity, 1: high 0, low. Can be configured in CONF state. - Field
EXT_HOLD_ENreader - 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. - Field
EXT_HOLD_ENwriter - 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. - Field
FADDR_DUALreader - Apply 2-bit mode during addr phase 1:enable 0: disable. Can be configured in CONF state. - Field
FADDR_DUALwriter - Apply 2-bit mode during addr phase 1:enable 0: disable. Can be configured in CONF state. - Field
FADDR_OCTreader - Apply 8-bit mode during addr phase 1:enable 0: disable. Can be configured in CONF state. - Field
FADDR_OCTwriter - Apply 8-bit mode during addr phase 1:enable 0: disable. Can be configured in CONF state. - Field
FADDR_QUADreader - Apply 4-bit mode during addr phase 1:enable 0: disable. Can be configured in CONF state. - Field
FADDR_QUADwriter - Apply 4-bit mode during addr phase 1:enable 0: disable. Can be configured in CONF state. - Field
FCMD_DUALreader - Apply 2-bit mode during command phase 1:enable 0: disable. Can be configured in CONF state. - Field
FCMD_DUALwriter - Apply 2-bit mode during command phase 1:enable 0: disable. Can be configured in CONF state. - Field
FCMD_OCTreader - Apply 8-bit mode during command phase 1:enable 0: disable. Can be configured in CONF state. - Field
FCMD_OCTwriter - Apply 8-bit mode during command phase 1:enable 0: disable. Can be configured in CONF state. - Field
FCMD_QUADreader - Apply 4-bit mode during command phase 1:enable 0: disable. Can be configured in CONF state. - Field
FCMD_QUADwriter - Apply 4-bit mode during command phase 1:enable 0: disable. Can be configured in CONF state. - Field
FREAD_DUALreader - In the read operations, read-data phase is in 2-bit mode. 1: enable 0: disable. Can be configured in CONF state. - Field
FREAD_DUALwriter - In the read operations, read-data phase is in 2-bit mode. 1: enable 0: disable. Can be configured in CONF state. - Field
FREAD_OCTreader - In the read operations read-data phase is in 8-bit mode. 1: enable 0: disable. Can be configured in CONF state. - Field
FREAD_OCTwriter - In the read operations read-data phase is in 8-bit mode. 1: enable 0: disable. Can be configured in CONF state. - Field
FREAD_QUADreader - In the read operations read-data phase is in 4-bit mode. 1: enable 0: disable. Can be configured in CONF state. - Field
FREAD_QUADwriter - In the read operations read-data phase is in 4-bit mode. 1: enable 0: disable. Can be configured in CONF state. - Field
Q_POLreader - The bit is used to set MISO line polarity, 1: high 0, low. Can be configured in CONF state. - Field
Q_POLwriter - The bit is used to set MISO line polarity, 1: high 0, low. Can be configured in CONF state. - Register
CTRLreader - Field
RD_BIT_ORDERreader - In read-data (MISO) phase 1: LSB first 0: MSB first. Can be configured in CONF state. - Field
RD_BIT_ORDERwriter - In read-data (MISO) phase 1: LSB first 0: MSB first. Can be configured in CONF state. - Register
CTRLwriter - Field
WPreader - Write protect signal output when SPI is idle. 1: output high, 0: output low. Can be configured in CONF state. - Field
WPwriter - Write protect signal output when SPI is idle. 1: output high, 0: output low. Can be configured in CONF state. - Field
WR_BIT_ORDERreader - In command address write-data (MOSI) phases 1: LSB firs 0: MSB first. Can be configured in CONF state. - Field
WR_BIT_ORDERwriter - In command address write-data (MOSI) phases 1: LSB firs 0: MSB first. Can be configured in CONF state.