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.Core 11 { 12 public sealed class GPIOConnection 13 { 14 public int SourceNumber 15 { 16 get; 17 private set; 18 } 19 20 public GPIOEndpoint GPIOEndpoint 21 { 22 get; 23 private set; 24 } GPIOConnection(int sourceNumber, GPIOEndpoint endpoint)25 public GPIOConnection(int sourceNumber, GPIOEndpoint endpoint) 26 { 27 this.SourceNumber = sourceNumber; 28 this.GPIOEndpoint = endpoint; 29 } 30 } 31 } 32 33