esp-idf/components/hal/esp32s2/include/hal
Armando 27a6f2666a spi_master: refactor hal context structures
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
2020-09-21 20:32:41 +08:00
..
adc_hal.h hal: update link to HAL readme.md 2020-09-11 15:48:08 +08:00
adc_ll.h hal: extract hal component from soc component 2020-09-01 13:25:32 +08:00
clk_gate_ll.h esp32s2/soc: Fix periph_ll_periph_enabled 2020-09-07 08:32:18 +00:00
cp_dma_hal.h async memcpy: support async memcopy on esp32s2/s3 2020-09-16 21:30:54 +08:00
cp_dma_ll.h hal: extract hal component from soc component 2020-09-01 13:25:32 +08:00
cpu_ll.h hal: extract hal component from soc component 2020-09-01 13:25:32 +08:00
dac_ll.h hal: update link to HAL readme.md 2020-09-11 15:48:08 +08:00
gpio_ll.h hal: update link to HAL readme.md 2020-09-11 15:48:08 +08:00
gpspi_flash_ll.h hal: update link to HAL readme.md 2020-09-11 15:48:08 +08:00
i2c_ll.h hal: extract hal component from soc component 2020-09-01 13:25:32 +08:00
i2s_ll.h hal: update link to HAL readme.md 2020-09-11 15:48:08 +08:00
ledc_ll.h hal: extract hal component from soc component 2020-09-01 13:25:32 +08:00
memprot_ll.h hal: extract hal component from soc component 2020-09-01 13:25:32 +08:00
mpu_ll.h hal: extract hal component from soc component 2020-09-01 13:25:32 +08:00
mwdt_ll.h hal: extract hal component from soc component 2020-09-01 13:25:32 +08:00
pcnt_ll.h hal: update link to HAL readme.md 2020-09-11 15:48:08 +08:00
rmt_ll.h Merge branch 'feat/extract_hal_from_soc' into 'master' 2020-09-01 23:56:15 +08:00
rtc_cntl_ll.h hal: extract hal component from soc component 2020-09-01 13:25:32 +08:00
rtc_io_ll.h hal: update link to HAL readme.md 2020-09-11 15:48:08 +08:00
rwdt_ll.h hal: extract hal component from soc component 2020-09-01 13:25:32 +08:00
sigmadelta_ll.h hal: update link to HAL readme.md 2020-09-11 15:48:08 +08:00
soc_ll.h hal: extract hal component from soc component 2020-09-01 13:25:32 +08:00
spi_flash_ll.h hal: update link to HAL readme.md 2020-09-11 15:48:08 +08:00
spi_ll.h spi_master: refactor hal context structures 2020-09-21 20:32:41 +08:00
spimem_flash_ll.h hal: update link to HAL readme.md 2020-09-11 15:48:08 +08:00
systimer_ll.h hal: extract hal component from soc component 2020-09-01 13:25:32 +08:00
timer_ll.h hal: extract hal component from soc component 2020-09-01 13:25:32 +08:00
touch_sensor_hal.h hal: update link to HAL readme.md 2020-09-11 15:48:08 +08:00
touch_sensor_ll.h hal: update link to HAL readme.md 2020-09-11 15:48:08 +08:00
twai_ll.h hal: update link to HAL readme.md 2020-09-11 15:48:08 +08:00
uart_ll.h hal: extract hal component from soc component 2020-09-01 13:25:32 +08:00
usb_ll.h hal: extract hal component from soc component 2020-09-01 13:25:32 +08:00