Hid Controls; Component Api - XMOS xCORE-200 Multi-channel Audio board Design Manual

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

Advertisement

USB Audio Design Guide
This is called on a change in state.
Function
AudioStreamStart
Description
Type
void AudioStreamStart(int active)
Parameters
active

7.2.4 HID Controls

The following function is called when the device wishes to read physical user input (buttons etc).
Function
UserReadHIDButtons
Description
Type
void
UserReadHIDButtons(unsigned char hidData[])
Parameters
hidData

7.3 Component API

The following functions can be called from the top level main of an application and implement the
various components described in §3.1.
Function
XUD_Manager
This performs the low-level USB I/O operations.
Description
Note that this needs to run in a thread with at least 80 MIPS worst case execution
speed.
XM0088546.1
Indicates if the host is active or not. 1 for active else 0.
The function should write relevant HID bits into this array. The
bit ordering and functionality is defined by the HID report de-
scriptor used.
102/110
Continued on next page

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents