aboutsummaryrefslogtreecommitdiffstats
path: root/core/usb/usb_callbacks.c
Commit message (Collapse)AuthorAgeFilesLines
* moved the usb directory to its proper home in ./libmapleAJM2010-05-201-293/+0
| | | | also, removed some old usb file, bootVect.h, which setup the static table for the runtime usb lib that no longer exists and was provided by the bootloader rev 1
* added a delay to the resrt slide to allow enough time for graceul closures ↵AJM2010-05-201-1/+9
| | | | of the serial port
* fixed the FIFO bug, tx/rx now seems stable and ready for integration.AJM2010-05-201-1/+1
|
* FINALLY figured out the tx/rx bugs, so the whole stack is officially ↵AJM2010-05-201-7/+13
| | | | working. for future reference its ESSENTIAL that you set the EPNUM flag of the global device struct appropriately regardless of whether or not you enable or configure more endpoints.
* finally got TX working without any delay, there is some weird timing ↵AJM2010-05-201-11/+43
| | | | involved in what happens when the line state is toggled (host port disconnected) and theres still data waiting to go out, this will hang any while(txCount != 0) calls. similarly, sending data without checking txCount != 0 will hard fault the chip. This is all handled now by usbSendBytes, which returns -1 for unconnected, and 0 for simply 'waiting to send'
* c++ ified all of the usb_core files, added the auto-reset feature to the ↵AJM2010-05-201-26/+64
| | | | virtual com port, got the descriptors in functional although not pretty order that can be fixed using the attribute packing
* added virtual com port echoing as the test configuration for the usb serial codeAJM2010-05-201-1/+17
|
* finished the entire low level usb app for virtual com minus the precise ↵AJM2010-05-201-0/+193
handling of get/send data callbacks and toggle line state. completely undebugged for now.