unsigned char USBEndpointDescriptor_GetNumber(const USBEndpointDescriptor *endpoint) { return endpoint->bEndpointAddress & 0xF; }