osc52ToWire function

int osc52ToWire(
  1. Osc52Mode m
)

Implementation

int osc52ToWire(Osc52Mode m) => switch (m) {
      Osc52Mode.disabled => 0,
      Osc52Mode.onlyCopy => 1,
      Osc52Mode.onlyPaste => 2,
      Osc52Mode.copyPaste => 3,
    };