public PreamblePolarityEventArg(PreamblePolarityEnum value) { this.value = value; }
public void SetPreamblePolarity(PreamblePolarityEnum value) { try { lock (syncThread) registers["RegSyncConfig"].Value = (uint)(byte)((uint)(byte)((uint)(byte)registers["RegSyncConfig"].Value & 223U) | (uint)(byte)((uint)(byte)value << 5)); } catch (Exception ex) { OnError((byte)1, ex.Message); } }
private void OnPreamblePolarityChanged(PreamblePolarityEnum value) { if (this.PreamblePolarityChanged == null) return; this.PreamblePolarityChanged((object) this, new PreamblePolarityEventArg(value)); }