Interface Io

All Known Implementing Classes:
Asic, Claro, Dac6571, DaqMux, DtmControl, FastIc8, FastRICH, GbtGrandParent, GbtxDepp, GbtxIcDepp, GbtxParent, GbtxSca, I2C, LpGbtDepp, LpGbtIcEc, LpGbtParent, MuDaq, PicoTDC, VtrxPlus

public interface Io

Byte-oriented hardware I/O interface

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    get(int offset, byte[] buf)
    Reads array of bytes from hardware
    void
    put(int offset, byte[] buf)
    Writes array of bytes to hardware.
  • Method Details

    • put

      void put(int offset, byte[] buf)

      Writes array of bytes to hardware.

      Parameters:
      offset - Hardware byte offset where to start writing.
      buf - data to write.
    • get

      void get(int offset, byte[] buf)

      Reads array of bytes from hardware

      Parameters:
      offset - Register start address offset
      buf - array to receive data