예제 #1
0
파일: PXI.cs 프로젝트: nyamimi/LemonLime
        public PXI(uint InterruptBitPosition)
        {
            this.SendFIFO         = new Queue <uint>(16);
            this.RecvFIFO         = new Queue <uint>(16);
            this.ConfigBuffer     = new FMemBuffer(8);
            this.InterruptBitMask = (uint)(1 << (int)InterruptBitPosition);

            this.RemoteByte      = 0;
            this.SyncIRQEnable   = false;
            this.FIFOEnable      = false;
            this.FIFOError       = false;
            this.SendEmptyIRQ    = false;
            this.RecvNotEmptyIRQ = false;

            this.Endpoint = null;
        }
예제 #2
0
파일: PXI.cs 프로젝트: nyamimi/LemonLime
 public void AttachEndpoint(PXI Endpoint)
 {
     this.Endpoint = Endpoint;
 }