www.beck-ipc.com

@CHIP-RTOS C Library V2.06 - USB API


usbHostGetInterfaceInfo

Returns information from the Interface Descriptor of a given interface

int usbHostGetInterfaceInfo( unsigned char address,

unsigned char interfaceId,
unsigned char altSettingId,
UsbInterface far *info,
unsigned char size );

Parameters

address

Address of the resp. device

interfaceId

ID of the resp. Interface

altSettingId

ID of the resp. Alternate Setting

info

Result parameter: Pointer to a structure of the type UsbInterface which is to be filled with the information

size

Size of the handed structure in bytes

Return Value

Error code

Comments

This function must not be called from within the callback-function.

RTOS API

This library function uses a dynamic link to reach the function USB_SERVICE_HOST_GET_INTERFACE_INFO offered by RTOS USB Software Interrupt.

Related Topics

C-library function usbHostGetDeviceInfo()
C-library function usbHostGetConfigInfo()
C-library function usbHostGetEpInfo()

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3
    n/an/an/aV1.06

Supported by @CHIP-RTOS C Library since version

    CLIB
    V2.05

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document