@CHIP-RTOS C Library - USB API
usbHostGetInterfaceInfo
Returns information from the Interface Descriptor of a given interface UsbError 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-
| SC12 | SC13 | SC11 | SC1x3 | SC2x |
-
| n/a | n/a | n/a | V1.06 | V1.00 |
Supported by @CHIP-RTOS C Library since version
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|