mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-02 14:49:04 +00:00
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:
@@ -1081,6 +1081,29 @@ static inline void spi_dma_ll_enable_out_auto_wrback(spi_dma_dev_t *dma_out, uin
|
||||
//does not configure it in ESP32
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the spi communication command
|
||||
*
|
||||
* @param cmd_t Base command value
|
||||
* @param line_mode Line mode of SPI transaction phases: CMD, ADDR, DOUT/DIN.
|
||||
*/
|
||||
static inline uint16_t spi_ll_get_slave_hd_command(spi_command_t cmd_t, spi_line_mode_t line_mode)
|
||||
{
|
||||
//This is not supported in esp32
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the dummy bits
|
||||
*
|
||||
* @param line_mode Line mode of SPI transaction phases: CMD, ADDR, DOUT/DIN.
|
||||
*/
|
||||
static inline int spi_ll_get_slave_hd_dummy_bits(spi_line_mode_t line_mode)
|
||||
{
|
||||
//This is not supported in esp32
|
||||
return 0;
|
||||
}
|
||||
|
||||
#undef SPI_LL_RST_MASK
|
||||
#undef SPI_LL_UNUSED_INT_MASK
|
||||
|
||||
|
Reference in New Issue
Block a user