Class CsrMap
java.lang.Object
cbsw.CsrMap
This class encapsulates a register set and map.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThe register address offset in bytes.intThe register map size in bytes.intThe register address step in bytes between repeated blocks.The register descriptors.The map of register names to descriptors.A type that identifies the device for this CsrMap. -
Constructor Summary
ConstructorsConstructorDescriptionCsrMap()No-argument constructor required by unmarshaller.Constructor called byCsrMapAdapter. -
Method Summary
-
Field Details
-
type
A type that identifies the device for this CsrMap.
-
csrSize
public int csrSizeThe register map size in bytes.
-
csrAddress
public int csrAddressThe register address offset in bytes.
-
csrStep
public int csrStepThe register address step in bytes between repeated blocks.
-
descriptors
The register descriptors.
-
hash
The map of register names to descriptors.
-
-
Constructor Details
-
CsrMap
Constructor called by
CsrMapAdapter.- Parameters:
csrMap- A CsrMap to clone.
-
CsrMap
public CsrMap()No-argument constructor required by unmarshaller.
-