dmitrystu / libusb_stm32

Lightweight USB device Stack for STM32 microcontrollers
Apache License 2.0
696 stars 160 forks source link

Document the usbd_ep_write(dev, ep, 0, 0) trick #134

Closed aitap closed 3 months ago

aitap commented 5 months ago

Hello and thank you for the wonderfully compact library! After STM32_USB_Device_Library, it's a pleasure to use.

It takes a while to figure out how to use the code properly (took me a few evenings to find out when the usbd_evt_eprx events should actually arrive for my endpoint), so I would like to introduce some more documentation. I can expand this pull request with more information if that is desirable. Please let me know what you think.