Class ClaroMap


  • class ClaroMap
    extends java.lang.Object

    This class encapsulates the FastIC8 register set.

    Register descriptors are unmarshalled into statically accessible members of this class.

    Note that the class members are static but unfortunately not immutable because of the need to use JAXB setters.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int csrSize
      The register map size in bytes.
      static java.util.ArrayList<RegisterDescriptor> descriptors
      The register descriptors.
      static java.util.HashMap<java.lang.String,​RegisterDescriptor> map
      The map of register names to descriptors.
    • Constructor Summary

      Constructors 
      Constructor Description
      ClaroMap()
      No-argument constructor called by unmarshaller
    • Field Detail

      • csrSize

        public static int csrSize

        The register map size in bytes.

      • descriptors

        public static java.util.ArrayList<RegisterDescriptor> descriptors

        The register descriptors.

      • map

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

        The map of register names to descriptors.

    • Constructor Detail

      • ClaroMap

        public ClaroMap()

        No-argument constructor called by unmarshaller

    • Method Detail

      • setCsrSize

        public void setCsrSize​(int csrSize)

        Sets the register map size.

        Parameters:
        csrSize - The register map size in bytes.
      • getCsrSize

        public int getCsrSize()
      • setDescriptors

        public void setDescriptors​(java.util.ArrayList<RegisterDescriptor> descriptors)

        Sets the register descriptor list.

        Parameters:
        descriptors - An ArrayList of RegisterDescriptors.
      • getDescriptors

        public java.util.ArrayList<RegisterDescriptor> getDescriptors()

        Gets the register descriptor list.

        Returns:
        The list.