1 // 2 // Copyright (c) 2010-2018 Antmicro 3 // Copyright (c) 2011-2015 Realtime Embedded 4 // 5 // This file is licensed under the MIT License. 6 // Full license text is available in 'licenses/MIT.txt'. 7 // 8 using System; 9 10 namespace Antmicro.Renode.Peripherals.USBDeprecated 11 { 12 public enum MessageRecipient 13 { 14 Device = 0, 15 Interface = 1, 16 Endpoint = 2, 17 Other = 3 18 } 19 public struct USBPacket 20 { 21 public byte ep; 22 public byte [] data; 23 public long bytesToTransfer; 24 } 25 } 26