mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
27a6f2666a
This commit seperates the hal context into different configuration structures based on their members' definitions. Through refactoring spi_master.c, the device related configuration should be passed in and set each time before a new transaction. The transaction related configuration now is a local variable in case of the fact that error occurs without any notice when user forgets to pass new transaction configuration in (which means the old driver will use the trans_config that is saved from last transaction). Besides, via above refactor, this commit fixs a bug which leads to wrong cs polarity setting. Closes https://github.com/espressif/esp-idf/pull/5490 Moreover, via above refactor, this commit also fixs a bug about duplex mode switching when multiple devices are added to the bus. Closes https://github.com/espressif/esp-idf/issues/4641 |
||
---|---|---|
.. | ||
adc_hal.h | ||
adc_ll.h | ||
clk_gate_ll.h | ||
cp_dma_hal.h | ||
cp_dma_ll.h | ||
cpu_ll.h | ||
dac_ll.h | ||
gpio_ll.h | ||
gpspi_flash_ll.h | ||
i2c_ll.h | ||
i2s_ll.h | ||
ledc_ll.h | ||
memprot_ll.h | ||
mpu_ll.h | ||
mwdt_ll.h | ||
pcnt_ll.h | ||
rmt_ll.h | ||
rtc_cntl_ll.h | ||
rtc_io_ll.h | ||
rwdt_ll.h | ||
sigmadelta_ll.h | ||
soc_ll.h | ||
spi_flash_ll.h | ||
spi_ll.h | ||
spimem_flash_ll.h | ||
systimer_ll.h | ||
timer_ll.h | ||
touch_sensor_hal.h | ||
touch_sensor_ll.h | ||
twai_ll.h | ||
uart_ll.h | ||
usb_ll.h |