Package cbsw

Class CsrMap


  • public class CsrMap
    extends java.lang.Object

    This class encapsulates a register set and map.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      int csrAddress
      The register address offset in bytes.
      int csrSize
      The register map size in bytes.
      int csrStep
      The register address step in bytes between repeated blocks.
      java.util.ArrayList<RegisterDescriptor> descriptors
      The register descriptors.
      java.util.HashMap<java.lang.String,​RegisterDescriptor> hash
      The map of register names to descriptors.
      java.lang.String type
      A type that identifies the device for this CsrMap.
    • Constructor Summary

      Constructors 
      Constructor Description
      CsrMap()
      No-argument constructor required by unmarshaller.
      CsrMap​(CsrMap csrMap)
      Constructor called by CsrMapAdapter.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • type

        public java.lang.String type

        A type that identifies the device for this CsrMap.

      • csrSize

        public int csrSize

        The register map size in bytes.

      • csrAddress

        public int csrAddress

        The register address offset in bytes.

      • csrStep

        public int csrStep

        The register address step in bytes between repeated blocks.

      • descriptors

        public java.util.ArrayList<RegisterDescriptor> descriptors

        The register descriptors.

      • hash

        public java.util.HashMap<java.lang.String,​RegisterDescriptor> hash

        The map of register names to descriptors.

    • Constructor Detail

      • CsrMap

        public CsrMap​(CsrMap csrMap)

        Constructor called by CsrMapAdapter.

        Parameters:
        csrMap - A CsrMap to clone.
      • CsrMap

        public CsrMap()

        No-argument constructor required by unmarshaller.