Top | ![]() |
![]() |
![]() |
![]() |
This object is a thin glib wrapper around a libusb_endpoint_descriptor.
All the data is copied when the object is created and the original descriptor can be destroyed any at point.
guint8
g_usb_endpoint_get_kind (GUsbEndpoint *endpoint
);
Gets the type of endpoint.
Since: 0.3.3
guint16
g_usb_endpoint_get_maximum_packet_size
(GUsbEndpoint *endpoint
);
Gets the maximum packet size this endpoint is capable of sending/receiving.
Since: 0.3.3
guint8
g_usb_endpoint_get_polling_interval (GUsbEndpoint *endpoint
);
Gets the endpoint polling interval.
Since: 0.3.3
guint8
g_usb_endpoint_get_refresh (GUsbEndpoint *endpoint
);
Gets the rate at which synchronization feedback is provided, for audio device only.
Since: 0.3.3
guint8
g_usb_endpoint_get_synch_address (GUsbEndpoint *endpoint
);
Gets the address if the synch endpoint, for audio device only.
Since: 0.3.3
guint8
g_usb_endpoint_get_address (GUsbEndpoint *endpoint
);
Gets the address of the endpoint.
Since: 0.3.3
guint8
g_usb_endpoint_get_number (GUsbEndpoint *endpoint
);
Gets the number part of endpoint address.
Since: 0.3.3
GUsbDeviceDirection
g_usb_endpoint_get_direction (GUsbEndpoint *endpoint
);
Gets the direction of the endpoint.
Since: 0.3.3
GBytes *
g_usb_endpoint_get_extra (GUsbEndpoint *endpoint
);
Gets any extra data from the endpoint.
Since: 0.3.3