|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthades.models.pic.PicWordReg
hades.models.pic.PicPcReg
PicPcReg - Register for the programm counter. The PIC16C84-pc has 13 bits, but only the lowest 8 bits are directly accessible. The upper bits are taken from PCLATH, which is a write-only register
Field Summary | |
static int |
accessSize
|
static int |
realSize
|
Fields inherited from class hades.models.pic.PicWordReg |
size |
Constructor Summary | |
PicPcReg(PicBreakPoint newBp,
PicWordReg newPclath,
PicEpromBreakPoints newEpromBreakPoints)
|
Method Summary | |
int |
read()
Read the PCL, the 8 lowest bits |
int |
readAll()
Read the extended content of the register |
int |
readPc()
Read the PC, all 11 bits |
void |
setBit(int selectedBit,
boolean newValue)
Set one specified bit |
void |
testEpromBreakPoint(int newValue)
|
void |
write(int newValue)
Write PCL, 8 bit |
void |
writeAll(int newValue)
Write the extended content of the register |
void |
writePc(int newValue)
Write PC with 11 bits, CALL and GOTO |
Methods inherited from class hades.models.pic.PicWordReg |
getBit, getBreakPoint, getSize, getSizeAll, isDirty, por, reset, resetDirtyFlag, setBreakPoint, setDirtyFlag, testBreakPoint |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface hades.models.pic.PicReg |
getBit, getBreakPoint, getSize, getSizeAll, por, reset, setBreakPoint |
Field Detail |
public static final int realSize
public static final int accessSize
Constructor Detail |
public PicPcReg(PicBreakPoint newBp, PicWordReg newPclath, PicEpromBreakPoints newEpromBreakPoints)
Method Detail |
public int read()
read
in interface PicReg
read
in class PicWordReg
public int readAll()
PicReg
readAll
in interface PicReg
readAll
in class PicWordReg
public int readPc()
public void writeAll(int newValue)
PicReg
writeAll
in interface PicReg
writeAll
in class PicWordReg
public void write(int newValue)
write
in interface PicReg
write
in class PicWordReg
public void writePc(int newValue)
public void setBit(int selectedBit, boolean newValue)
PicReg
setBit
in interface PicReg
setBit
in class PicWordReg
public void testEpromBreakPoint(int newValue)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |