mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
513676f6e0
17086: usbdev: Add dedicated stall functions r=benpicco a=bergzand ### Contribution description This PR adds dedicated stall functions for usbdev peripherals. Two functions are added. The first function (usbdev_ep_stall) to enable and disable the stall condition on generic endpoints. The second function is a dedicated function to set the stall condition on endpoint zero in both directions. This status can only be set and should automatically be cleared by the usbdev implementation (or hardware) after a new setup request is received from the host. ### Testing procedure - examples/usbus_minimal should still enumerate correctly on the host side. - #17085 can be used to demonstrate the ep0_stall function with the `tests/usbus_cdc_acm_stdio/` test ### Issues/PRs references None Co-authored-by: Koen Zandberg <koen@bergzand.net> Co-authored-by: Gunar Schorcht <gunar@schorcht.net> |
||
---|---|---|
.. | ||
usbus | ||
Kconfig |