1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/periph_common
Benjamin Valentin 669104d841 cpu/sam0_common: SPI: don't perform DMA transfer for small buffers
Setting up a DMA transfer can take longer than sending out a buffer
byte by byte if the buffer is small.

DMA only shows advantages for large buffers, using it for every transfer
will cause a net slowdown.

Since we did not come up with a good way to determine the treshold based
on the SPI frequency, just use a fixed buffer for now so that DMA can be
used without slowing things down overall.
2021-11-19 17:22:51 +01:00
..
cpuid.c drivers/periph: fix doxygen groups in implementation 2018-05-24 09:11:43 +02:00
eeprom.c drivers/periph_eeprom: add eeprom_set function 2018-12-04 11:24:57 +01:00
flashpage.c drivers/flashpage: flashpage_page() takes a const argument 2021-08-27 14:08:25 +02:00
gpio_util.c drivers/periph_common/gpio_util: introduce gpio_util_shiftin() 2019-04-18 07:09:32 +02:00
i2c.c many typo fixes 2019-11-23 22:39:07 +01:00
init.c drivers/periph: Added PTP clock API 2020-12-02 17:53:00 +01:00
Kconfig drivers/kconfig: simplify shared rtt/rtc hardware in kconfig 2021-10-14 11:28:46 +02:00
Kconfig.flashpage flashpage: Make pagewise API optional 2020-11-11 22:26:33 +01:00
Kconfig.gpio drivers/periph_common/kconfig.gpio: include CPU configs 2020-11-18 10:07:59 +01:00
Kconfig.i2c treewide: change Kconfig prefix for module symbols 2020-08-31 09:57:28 +02:00
Kconfig.rtc */rtt|rtc: Fix Kconfig modeling 2021-10-14 11:28:44 +02:00
Kconfig.spi cpu/sam0_common: SPI: don't perform DMA transfer for small buffers 2021-11-19 17:22:51 +01:00
Kconfig.timer drivers/periph_common: remove redundant entry 2020-09-02 15:31:28 +02:00
Kconfig.uart drivers/periph/uart: add periph_uart_rx_start feature 2021-07-27 16:29:30 +02:00
Kconfig.wdt drivers/periph_common: remove redundant entry 2020-09-02 15:31:28 +02:00
Makefile drivers: add periph_common 2015-08-14 14:46:35 +02:00
pm.c drivers/*: realign ENABLE_DEBUG 2020-10-23 01:26:09 +02:00
ptp.c drivers/periph: Added PTP clock API 2020-12-02 17:53:00 +01:00
rtc.c drivers/periph_common: RTC: move RIOT_EPOCH to header, document it. 2020-08-07 13:22:19 +02:00
spi.c drivers: use inline functions for GPIO comparisons 2020-08-31 13:10:28 +02:00
timer.c drivers/periph_common/timer: protect timer_set from IRQs 2020-01-10 09:58:18 +01:00