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 9 using System; 10 11 namespace Antmicro.Renode.Core 12 { 13 [AttributeUsage(AttributeTargets.Class)] 14 public class GPIOAttribute : Attribute 15 { 16 /// <summary> 17 /// Specifies number of GPIO inputs. If it is 0 (default), the number of inputs is unbound. 18 /// </summary> 19 public int NumberOfInputs 20 { 21 get; 22 set; 23 } 24 25 /// <summary> 26 /// Specifies number of GPIO outputs. If it is 0 (default), the number of outputs is unbound. 27 /// </summary> 28 public int NumberOfOutputs 29 { 30 get; 31 set; 32 } 33 34 } 35 } 36 37