XMOS xCORE-200 Multi-channel Audio board Design Manual page 104

Usb audio
Hide thumbs Also See for xCORE-200 Multi-channel Audio board:
Table of Contents

Advertisement

USB Audio Design Guide
Parameters
c_epOut
noEpOut
c_epIn
noEpIn
c_sof
epTypeTableOut
epTypeTableIn
p_usb_rst
clk
rstMask
desiredSpeed
pwrConfig
XM0088546.1
An array of channel ends, one channel end per output endpoint
(USB OUT transaction); this includes a channel to obtain requests
on Endpoint 0.
The number of output endpoints, should be at least 1 (for End-
point 0).
An array of channel ends, one channel end per input endpoint
(USB IN transaction); this includes a channel to respond to re-
quests on Endpoint 0.
The number of input endpoints, should be at least 1 (for End-
point 0).
A channel to receive SOF tokens on. This channel must be
connected to a process that can receive a token once every 125
ms. If tokens are not read, the USB layer will lock up. If no SOF
tokens are required null should be used for this parameter.
See epTypeTableIn .
This and epTypeTableOut are two arrays indicating the type of
the endpoint. Legal types include: XUD_EPTYPE_CTL (Endpoint 0),
XUD_EPTYPE_BUL (Bulk endpoint), XUD_EPTYPE_ISO (Isochronous
endpoint), XUD_EPTYPE_INT (Interrupt endpoint), XUD_EPTYPE_DIS
(Endpoint not used). The first array contains the endpoint types
for each of the OUT endpoints, the second array contains the
endpoint types for each of the IN endpoints.
The port to used to connect to an external phy reset line. Should
be null for U-Series.
The clock block to use for the p_usb_rst port - this should not
be clock block 0. Should be null for U-Series.
The mask to use when taking an external phy into/out of reset.
The mask is ORed into the port to disable reset, and unset when
deasserting reset. Use '-1' as a default mask if this port is not
shared.
This parameter specifies what speed the device will attempt
to run at i.e. full-speed (ie 12Mbps) or high-speed (480Mbps)
if supported by the host. Pass XUD_SPEED_HS if high-speed is
desired or XUD_SPEED_FS if not. Low speed USB is not supported
by XUD.
Specifies whether the device is bus or self-powered. When self-
powered the XUD will monitor the VBUS line for host disconnec-
tions. This is required for compliance reasons. Valid values are
XUD_PWR_SELF and XUD_PWR_BUS.
104/110
Continued on next page

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents