1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/sys/include/usb
Koen Zandberg 59e85cf921
usbdev: Refactor to xmit API
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
2021-11-16 11:21:00 +01:00
..
usbus treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
cdc.h treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
descriptor.h usbus_cdc_ecm: initial CDC ECM functionality 2019-06-14 16:00:05 +02:00
dfu.h usbus/dfu: introduce initial Device Firmware Upgrade support for USBUS 2021-01-12 11:34:22 +01:00
hid.h usbus/hid_io: add missing header file, add RX callback function 2021-08-04 14:54:33 +02:00
usbopt.h usbdev: Refactor to xmit API 2021-11-16 11:21:00 +01:00
usbus.h usbus: Deprecate USBUS_HANDLER_FLAG_TR_FAIL event 2021-10-24 19:33:29 +02:00