|
||||||||||
| 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 PicRegpublic int getSizeAll()
PicReg
getSizeAll in interface PicRegpublic void reset()
PicReg
reset in interface PicRegpublic void por()
PicReg
por in interface PicRegpublic int read()
PicReg
read in interface PicRegpublic int readAll()
PicReg
readAll in interface PicRegpublic void write(int newValue)
PicReg
write in interface PicRegpublic void writeAll(int newValue)
PicReg
writeAll in interface PicReg
public void setBit(int selectedBit,
boolean newValue)
PicReg
setBit in interface PicRegpublic boolean getBit(int selectedBit)
PicReg
getBit in interface PicRegpublic void setBreakPoint(int value)
PicReg
setBreakPoint in interface PicRegpublic int getBreakPoint()
PicReg
getBreakPoint in interface PicRegprotected void testBreakPoint(int value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||