Exemple #1
0
        public override void Reset()
        {
            state = State.Idle;
            EventInterrupt.Unset();
            ErrorInterrupt.Unset();

            registers.Reset();
            data.Reset();
        }
 public override void Reset()
 {
     registers.Reset();
     txData = new Queue <byte>();
     rxData = new Queue <byte>();
     currentSlaveAddress = 0;
     transferOutgoing    = false;
     EventInterrupt.Unset();
     ErrorInterrupt.Unset();
     masterMode = false;
 }