@CHIP-RTOS C Library V2.06 - USB API
usbHostGetEpInfo
Returns information from the Endpoint Descriptor of a given endpoint int usbHostGetEpInfo( unsigned char address,
unsigned char altSettingId,
unsigned char epNumber,
UsbBool in,
UsbEp far *info,
unsigned char size ); Parameters
address
- Address of the resp. device
altSettingId
- ID of the resp. alternate setting
epNumber
- Number of the resp. endpoint
in
- Indicates that information on an IN endpoint is desired;
always set to FALSE for control-endpoints
info
- Result parameter: Pointer to a structure of the type
UsbEp 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_EP_INFO offered by RTOS USB
Software Interrupt.
Related Topics
-
- C-library function usbHostGetDeviceInfo()
-
- C-library function usbHostGetConfigInfo()
-
- C-library function usbHostGetInterfaceInfo()
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
n/a | n/a | n/a | V1.06 |
Supported by @CHIP-RTOS C Library since version
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|