Lephe
911691461f
The previous scheme was really unclear. Now, an endpoint_t carries all of the endpoint info (instead of the global address being implicitly its array index, which couldn't be returned). An _endpoint address_ is the 8-bit value consisting of an endpoint number (bits 0x0f) and a direction (bit 0x80). The _global address_ of an endpoint is the address used to communicate with the host, and it is unique. The _local address_ of an endpoint is the interface-specific numbering that gint provides to allow interfaces to compose without risks of address collisions. The complete data for an endpoint can be queried with the new functions usb_get_endpoint_by_*() which accept global addresses, local addresses, and pipe numbers. |
||
---|---|---|
.. | ||
classes | ||
asyncio.c | ||
configure.c | ||
pipes.c | ||
setup.c | ||
string.c | ||
usb.c | ||
usb_private.h | ||
write4.S |