kopia lustrzana https://github.com/espressif/esp-idf
435adaa22a
The driver decide whether use MOSI/MISO phases according to the buffer address together with the SPI_TRANS_USE_*DATA. However someone may assue that these phases will be skipped when the ``length``/``rxlength`` is set to 0. In fact it is a feature that ``rxlength`` is allowed to be set to 0 when tx and rx have the same length, and the driver fill the ``rxlength`` to ``length``. An error check is added when the rxlength is 0 but there is data to be sent. |
||
---|---|---|
.. | ||
include/driver | ||
test | ||
CMakeLists.txt | ||
Kconfig | ||
adc1_i2s_private.h | ||
can.c | ||
component.mk | ||
gpio.c | ||
i2c.c | ||
i2s.c | ||
ledc.c | ||
mcpwm.c | ||
pcnt.c | ||
periph_ctrl.c | ||
rmt.c | ||
rtc_module.c | ||
sdio_slave.c | ||
sdmmc_host.c | ||
sdmmc_private.h | ||
sdmmc_transaction.c | ||
sdspi_crc.c | ||
sdspi_crc.h | ||
sdspi_host.c | ||
sdspi_private.h | ||
sdspi_transaction.c | ||
sigmadelta.c | ||
spi_common.c | ||
spi_master.c | ||
spi_slave.c | ||
timer.c | ||
uart.c |