USBEndpointDescriptor_GetMaxPacketSize
Default mainpageat91libusbcommoncoreUSBEndpointDescriptor_GetMaxPacketSize
Description Source Call Graph
USBEndpointDescriptor_GetMaxPacketSize
Returns the maximum size of a packet (in bytes) on an endpoint given its descriptor.
 
Syntax / parameters
unsigned short USBEndpointDescriptor_GetMaxPacketSize (const USBEndpointDescriptor *endpoint)

Name Type Default Description
endpoint const USBEndpointDescriptor *
 
  • Pointer to a USBEndpointDescriptor instance.
 
Return value unsigned short
  Maximum packet size of endpoint.
Description
Returns the maximum size of a packet (in bytes) on an endpoint given its descriptor.

 
Source
The documentation for this Member was generated from the following files:
  • USBEndpointDescriptor.c