Package cbsw

Interface Io

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      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 Detail

      • 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