Exemple #1
0
 private void RedefineInputPins(bool differential)
 {
     SetPinOffset(0, differential ? new(-Width / 2, -Height / 4) : new(-Width / 2, 0));
     SetPinOffset(1, differential ? new(-Width / 2, Height / 4) : new(-Width / 2, 0));
 }
Exemple #2
0
 private void RedefineOutputPins(bool differential)
 {
     SetPinOffset(2, differential ? new(Width / 2 - Height / 4, Height / 4) : new(Width / 2, 0));
     SetPinOffset(3, differential ? new(Width / 2 - Height / 4, -Height / 4) : new(Width / 2, 0));
 }