Package cbsw
Class CsrMap
- java.lang.Object
-
- cbsw.CsrMap
-
public class CsrMap extends java.lang.ObjectThis class encapsulates a register set and map.
-
-
Field Summary
Fields Modifier and Type Field Description intcsrAddressThe register address offset in bytes.intcsrSizeThe register map size in bytes.intcsrStepThe register address step in bytes between repeated blocks.java.util.ArrayList<RegisterDescriptor>descriptorsThe register descriptors.java.util.HashMap<java.lang.String,RegisterDescriptor>hashThe map of register names to descriptors.java.lang.StringtypeA 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 byCsrMapAdapter.
-
-
-
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.
-
-