@CHIP-RTOS C Library - USB API
usbHostGetDeviceInfo
Returns information from the Device Descriptor of a given device UsbError usbHostGetDeviceInfo( unsigned char address,
UsbDevice far *info,
unsigned char size ); Parameters
address
- Address of the resp. device
info
- Result parameter: Pointer to a structure of the type
UsbDevice 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_DEVICE_INFO
offered by RTOS USB Software Interrupt.
Related Topics
-
- C-library function usbHostGetConfigInfo
-
- C-library function usbHostGetInterfaceInfo
-
- 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
|