mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Koen Zandberg
597f1d19aa
This API change refactors the usbdev API to supply buffers via the usbdev_ep_xmit function. This changes from the usbdev_ep_ready call to allow separate buffers per call. An usbdev_ep_buf_t pseudotype is available and must be used when defining buffers used for endpoints to adhere to the DMA alignment restrictions often required with usb peripherals. Main advantage is that the usbdev peripherals no longer have to allocate oversized buffers for the endpoint data, potentially saving multiple KiB of unused buffer space. These allocations are now the responsibility of the individual USB interfaces in the firmware |
||
---|---|---|
.. | ||
adc.h | ||
can.h | ||
cpuid.h | ||
dac.h | ||
doc.txt | ||
eeprom.h | ||
flashpage.h | ||
gpio_util.h | ||
gpio.h | ||
hwrng.h | ||
i2c.h | ||
init.h | ||
pm.h | ||
ptp.h | ||
pwm.h | ||
qdec.h | ||
rtc_mem.h | ||
rtc.h | ||
rtt.h | ||
spi.h | ||
timer.h | ||
uart.h | ||
usbdev.h | ||
wdt.h |