Class FlinkSubDevice

    • Field Detail

      • function

        public int function
      • subType

        public int subType
      • version

        public int version
      • memSize

        public int memSize
      • nofChannels

        public int nofChannels
      • baseAddress

        public int baseAddress
      • uniqueID

        public int uniqueID
      • id

        public int id
    • Constructor Detail

      • FlinkSubDevice

        public FlinkSubDevice()
    • Method Detail

      • read

        public 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

        public 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
      • getConfigReg

        public int getConfigReg()
        Returns the configuration register of a flink subdevice.
        Returns:
        content of configuration register
      • getStatusReg

        public int getStatusReg()
        Returns the status register of a flink subdevice.
        Returns:
        content of status register
      • setConfigReg

        public void setConfigReg​(int confReg)
        Writes the configuration register of a flink subdevice.
        Parameters:
        confReg - content of configuration register