|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MemoryMappedIOReader
This interface defines the read access to the Memory Mapped IO.
Copyright (c) 2004, 2005 Cmpware, Inc. All Rights Reserved.
| Field Summary | |
|---|---|
static java.lang.String |
copyright
Copyright string |
| Method Summary | |
|---|---|
int |
getReadAddress()
This method returns the processor address to which the read port of this Memory Mapped IO is mapped. |
int |
getReadCount()
This method returns the number of times the read port has been accessed. |
int |
getReadStallCount()
This method returns the number of times the read port has stalled. |
int |
getValue()
This method returns the most recently written value of the Memory Mapped IO. |
boolean |
isReadable()
This method returns a true if the Memory Mapped IO is currently readable. |
int |
read()
This method reads a value from the Memory Mapped IO port. |
void |
readCommit()
All Memory Mapped IO reads are performed whenever data is available. |
void |
reset()
This abstract class is used to reset the link. |
void |
setReadAddress(int addr)
This method sets the read address of the Memeory Mapped IO. |
| Field Detail |
|---|
static final java.lang.String copyright
| Method Detail |
|---|
void reset()
int read()
throws MemoryMappedIOException
MemoryMappedIOException - - this method throws
a MemoryMappedIOException if the read could not
be completed on this cycle. This will typically
cause a stall of the processor and a retry on the
next cycle.void readCommit()
void setReadAddress(int addr)
addr - The Memory Mapped IO read address.int getReadAddress()
int getReadCount()
int getReadStallCount()
boolean isReadable()
int getValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||