hades.models.pic
Class PicEecon1Reg

java.lang.Object
  extended byhades.models.pic.PicWordReg
      extended byhades.models.pic.PicEecon1Reg
All Implemented Interfaces:
PicReg

public class PicEecon1Reg
extends PicWordReg
implements PicReg

PicEecon1Reg - Control the data eeprom operations


Field Summary
protected  PicEeprom eeprom
           
 
Fields inherited from class hades.models.pic.PicWordReg
size
 
Constructor Summary
PicEecon1Reg(PicBreakPoint newBp)
           
 
Method Summary
 void reset()
          Normal reset, often this will be the same as por()
 void setBit(int selectedBit, boolean newValue)
          Set one specified bit
 void setEeprom(PicEeprom newEeprom)
           
 void testCommands()
           
 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 hades.models.pic.PicWordReg
getBit, getBreakPoint, getSize, getSizeAll, isDirty, por, read, readAll, 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, read, readAll, setBreakPoint
 

Field Detail

eeprom

protected PicEeprom eeprom
Constructor Detail

PicEecon1Reg

public PicEecon1Reg(PicBreakPoint newBp)
Method Detail

setEeprom

public void setEeprom(PicEeprom newEeprom)

reset

public void reset()
Description copied from interface: PicReg
Normal reset, often this will be the same as por()

Specified by:
reset in interface PicReg
Overrides:
reset in class PicWordReg

testCommands

public void testCommands()

write

public void write(int newValue)
Description copied from interface: PicReg
Write the normal content of the register

Specified by:
write in interface PicReg
Overrides:
write in class PicWordReg

writeAll

public void writeAll(int newValue)
Description copied from interface: PicReg
Write the extended content of the register

Specified by:
writeAll in interface PicReg
Overrides:
writeAll in class PicWordReg

setBit

public void setBit(int selectedBit,
                   boolean newValue)
Description copied from interface: PicReg
Set one specified bit

Specified by:
setBit in interface PicReg
Overrides:
setBit in class PicWordReg