|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthades.models.pic.PicBitReg
PicBitReg - Register to store one Bit (like flip-flop)
Field Summary | |
static int |
_0
|
static int |
_1
|
static int |
_U
|
static int |
_Z
|
(package private) int |
intValue
|
(package private) boolean |
readOnly
|
Constructor Summary | |
PicBitReg()
|
Method Summary | |
void |
changeReadOnly(boolean newReadOnly)
Change the readOnly-flag |
boolean |
getBit()
test a specified bit |
void |
por()
Power-on-reset, do nothing |
int |
read()
read the value of the register |
void |
reset()
Reset, do nothing with a normal register |
void |
setBit(boolean newValue)
set a specified bit with a boolean value |
void |
write(int newValue)
write a new value into the register |
void |
writeForbidden(int newValue)
write a new value into the register, work with readOnly-registers |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
int intValue
boolean readOnly
public static final int _U
public static final int _0
public static final int _1
public static final int _Z
Constructor Detail |
public PicBitReg()
Method Detail |
public void por()
public void reset()
public void changeReadOnly(boolean newReadOnly)
public int read()
public void write(int newValue)
public void writeForbidden(int newValue)
public void setBit(boolean newValue)
public boolean getBit()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |