Interface FlinkBusInterface

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getMemoryLength()
      A flink device occupies a contiguous block in the memory.
      boolean hasInfoDev()
      A flink device usually incorporates an info device.
      int read​(int address)
      Base method to read one register from a flink device.
      void write​(int address, int data)
      Base method to write one register of a flink device.
    • Method Detail

      • getMemoryLength

        int getMemoryLength()
        A flink device occupies a contiguous block in the memory. This method returns the size of the memory block.
        Returns:
        Memory size in byte
      • read

        int read​(int address)
        Base method to read one register from a flink device.
        Parameters:
        address - of the register which should be read
        Returns:
        content of the register
      • write

        void write​(int address,
                   int data)
        Base method to write one register of a flink device.
        Parameters:
        address - of the register which should be written
        data - to write
      • hasInfoDev

        boolean hasInfoDev()
        A flink device usually incorporates an info device. However, this is not a precondition.
        Returns:
        True if device has Info device