How do I set the usb audio code up for usb asynchronous transfers.
Do I just have to change bmAttributes
USB_ENDPOINT_TYPE_ISOCHRONOUS,
to
USB_ENDPOINT_SYNC_ASYNCHRONOUS
or is it more complexed than that.
Ah, the second parameter of USB_WriteEP() takes a buffer, not a value.
uint32_t feedback_value; feedback_value = ((current_timer_count - last_timer_count) << 14) / (VPB_CLOCK/DATA_FREQ); USB_WriteEP( 0x83, &feedback_value, 3 );
Tsuneo