using System;

namespace MiMic.CsApi.LPC1769
{
	public class PeripheralId
	{
		private UInt32?[] reg=new UInt32?[3];
		public PeripheralId(UInt32? r1,UInt32? r2,UInt32? r3)
		{
			this.reg[0]=r1;
			this.reg[1]=r2;
			this.reg[2]=r3;
		}
		public UInt32? this[int i]
		{
			get{return this.reg[i];}
		}
	}
	public class PinId
	{
		public UInt32?[] reg=new UInt32?[4];
		public string[] sel;
		public PinId(UInt32? v1,UInt32? v2,UInt32? v3,UInt32? v4,string s1,string s2,string s3,string s4)
		{
			sel=new string[4];
			reg[0]=v1;reg[1]=v2;reg[2]=v3;reg[3]=v4;
			sel[0]=s1;sel[1]=s2;sel[2]=s3;sel[3]=s4;
		}
	}	
}

