|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthades.models.pic.PicNoReg
PicNoReg - No register, to implement memory-addresses with no ram behind it
Constructor Summary | |
PicNoReg(PicBreakPoint newBp)
|
Method Summary | |
boolean |
getBit(int selectedBit)
Get one specified bit |
int |
getBreakPoint()
Get BreakPoint returns the value that has been set by setBreakPoint |
int |
getSize()
How many bits are accessable with read() and write() ? |
int |
getSizeAll()
How many bits are accessable with readAll() and writeAll() ? |
void |
por()
Power-on-reset |
int |
read()
Read the normal content of the register |
int |
readAll()
Read the extended content of the register |
void |
reset()
Normal reset, often this will be the same as por() |
void |
setBit(int selectedBit,
boolean newValue)
Set one specified bit |
void |
setBreakPoint(int value)
Set BreakPoint: value >= 0 : break if content equals value value = -1 : no breakpoint value = -2 : break if content has changed |
protected void |
testBreakPoint(int value)
|
void |
write(int newValue)
Write the normal content of the register |
void |
writeAll(int newValue)
Write the extended content of the register |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PicNoReg(PicBreakPoint newBp)
Method Detail |
public int getSize()
PicReg
getSize
in interface PicReg
public int getSizeAll()
PicReg
getSizeAll
in interface PicReg
public void reset()
PicReg
reset
in interface PicReg
public void por()
PicReg
por
in interface PicReg
public int read()
PicReg
read
in interface PicReg
public int readAll()
PicReg
readAll
in interface PicReg
public void write(int newValue)
PicReg
write
in interface PicReg
public void writeAll(int newValue)
PicReg
writeAll
in interface PicReg
public void setBit(int selectedBit, boolean newValue)
PicReg
setBit
in interface PicReg
public boolean getBit(int selectedBit)
PicReg
getBit
in interface PicReg
public void setBreakPoint(int value)
PicReg
setBreakPoint
in interface PicReg
public int getBreakPoint()
PicReg
getBreakPoint
in interface PicReg
protected void testBreakPoint(int value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |