private void ProcessTxDone(RegIrqFlags IrqFlags) { Debug.Assert(IrqFlags != 0); this.SetMode(RegOpModeModeDefault); OnTransmit.Invoke(); }
/// <summary> /// This event is thrown when a payload is transmitted. /// </summary> /// <param name="sender">The sender.</param> /// <param name="payload">The payload.</param> protected void OnTransmitInvoke(object sender, TransmissionPayload payload) { var e = new CommunicationBridgeAgentEventArgs(payload); OnTransmit?.Invoke(sender, e); }