Merge branch 'bugfix/fix_spi_hd_quad_issue_esp32c3' into 'master'
essl_spi: fix wrong dummy cycle under quad spi mode ant add a test to verify spi quad mod Closes IDF-5182 and IDF-5181 See merge request espressif/esp-idf!18680
This commit is contained in:
@@ -53,6 +53,22 @@ typedef struct {
|
||||
uint8_t data_lines; ///< The line width of data phase, e.g. 4-line-data-phase.
|
||||
} spi_line_mode_t;
|
||||
|
||||
/**
|
||||
* @brief SPI command.
|
||||
*/
|
||||
typedef enum {
|
||||
/* Slave HD Only */
|
||||
SPI_CMD_HD_WRBUF = BIT(0),
|
||||
SPI_CMD_HD_RDBUF = BIT(1),
|
||||
SPI_CMD_HD_WRDMA = BIT(2),
|
||||
SPI_CMD_HD_RDDMA = BIT(3),
|
||||
SPI_CMD_HD_SEG_END = BIT(4),
|
||||
SPI_CMD_HD_EN_QPI = BIT(5),
|
||||
SPI_CMD_HD_WR_END = BIT(6),
|
||||
SPI_CMD_HD_INT0 = BIT(7),
|
||||
SPI_CMD_HD_INT1 = BIT(8),
|
||||
SPI_CMD_HD_INT2 = BIT(9),
|
||||
} spi_command_t;
|
||||
|
||||
/** @cond */ //Doxy command to hide preprocessor definitions from docs */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user