USB Audio Design Guide
When using the USB audio framework the
c_ep_in
array is always composed in the following order:
·
Endpoint 0 (in)
·
Audio Feedback endpoint (if output enabled)
·
Audio IN endpoint (if input enabled)
·
MIDI IN endpoint (if MIDI enabled)
·
Clock Interrupt endpoint
The array
c_ep_out
is always composed in the following order:
·
Endpoint 0 (out)
·
Audio OUT endpoint (if output enabled)
·
MIDI OUT endpoint (if MIDI enabled)
Function
Endpoint0
Description
Function implementing Endpoint 0 for enumeration, control and configuration
of USB audio devices.
It uses the descriptors defined in
descriptors_2.h
.
Type
void Endpoint0(chanend c_ep0_out,
chanend c_ep0_in,
chanend c_audioCtrl,
chanend ?c_mix_ctl,
chanend ?c_clk_ctl,
chanend ?c_EANativeTransport_ctr,
client interface i_dfu dfuInterface)
Continued on next page
XM0088546.1
Summary of Contents for xCORE-200 Multi-channel Audio board
Page 6: ...1 Overview XM0088546 1...