|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fosstrak.hal.MemoryBankDescriptor
public class MemoryBankDescriptor
The class is a data structure to store information that describes a memory bank such as size and read/write access.
| Field Summary | |
|---|---|
protected boolean |
readAccess
Flag that indicates if read access is allowed |
protected int |
size
Size of the memory bank in number of bytes |
protected boolean |
writeAccess
Flag that indicates if write access is allowed |
| Constructor Summary | |
|---|---|
MemoryBankDescriptor(int size,
boolean readAccess,
boolean writeAccess)
creates a memory bank descriptor with the given paramters. |
|
| Method Summary | |
|---|---|
int |
getSize()
gets the size of the memory bank in number of bytes. |
boolean |
isReadAccess()
gets the flag that indicates if read access is allowed. |
boolean |
isWriteAccess()
gets the flag that indicates if write access is allowed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int size
protected boolean readAccess
protected boolean writeAccess
| Constructor Detail |
|---|
public MemoryBankDescriptor(int size,
boolean readAccess,
boolean writeAccess)
size - the size of the memory bank in number of bytesreadAccess - flag that indicates if read access is allowedwriteAccess - flag that indicates if write access is allowed| Method Detail |
|---|
public int getSize()
public boolean isReadAccess()
public boolean isWriteAccess()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||