User:WillWare/USB Device Firmware

I am currently tackling a USB device development project, using the nRF24LU1+ processor. At the present time my primary need is to provide a virtual serial port so that code running on the micro can send debug messages to the host. I'll plan to use EP1 for a bidirectional serial port.

The descriptors I'll need in my own case are
 * a device descriptor with bNumConfigurations = 1
 * a configuration descriptor with bNumInterfaces = 1
 * an interface descriptor with bNumEndpoints = 2
 * two endpoint descriptors
 * EP1 IN interrupt, 0x81
 * EP1 OUT interrupt, 0x01

I'll need an initialization routine that sets a bunch of registers.

I'll need handlers for a lot of events or interrupts.
 * Section 7.4.3.1 of the nRF24LU1+ data sheet talks about how to handle EP0 events
 * sutokir, hsnak
 * sudavir
 * out0ir