Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Description

Specify the entity ID connected to this Output Terminal and associate the Output Terminal to an Input Terminal. 

Files

usbd_audio.h / usbd_audio.c

Prototype

Arguments

class_nbr

Class instance number.

ot_id

Output Terminal ID.

entity_id_src

ID of the Unit or Terminal to which this Terminal is connected.

assoc_terminal_id

Input Terminal ID associated.

p_err

Pointer to variable that will receive the return error code from this function.

USBD_ERR_NONE
USBD_ERR_CLASS_INVALID_NBR

Returned Value

None.

Callers

Application.

Notes / Warnings

  1. The Output Terminal descriptor has the field 'bAssocTerminal'. It associates an Input Terminal to this Output Terminal, effectively implementing a bi-directional Terminal pair.

  2. If there is no associated Input Terminal, you can set the parameter assoc_terminal_id to USBD_AUDIO_TERMINAL_NO_ASSOCIATION 

  • No labels