hades.models.pic
Class TurboPicCore.PicRegSTATUSAdapter

java.lang.Object
  extended byhades.models.pic.TurboPicCore.PicRegAdapter
      extended byhades.models.pic.TurboPicCore.PicRegSTATUSAdapter
All Implemented Interfaces:
PicReg
Enclosing class:
TurboPicCore

class TurboPicCore.PicRegSTATUSAdapter
extends TurboPicCore.PicRegAdapter


Constructor Summary
(package private) TurboPicCore.PicRegSTATUSAdapter()
           
 
Method Summary
 boolean getBit(int bit)
          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 bit, boolean v)
          Set one specified bit
 void setBreakPoint(int v)
          Set BreakPoint: value >= 0 : break if content equals value value = -1 : no breakpoint value = -2 : break if content has changed
 void write(int value)
          Write the normal content of the register
 void writeAll(int value)
          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

TurboPicCore.PicRegSTATUSAdapter

TurboPicCore.PicRegSTATUSAdapter()
Method Detail

read

public int read()
Description copied from interface: PicReg
Read the normal content of the register

Specified by:
read in interface PicReg
Overrides:
read in class TurboPicCore.PicRegAdapter

readAll

public int readAll()
Description copied from interface: PicReg
Read the extended content of the register

Specified by:
readAll in interface PicReg
Overrides:
readAll in class TurboPicCore.PicRegAdapter

write

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

Specified by:
write in interface PicReg
Overrides:
write in class TurboPicCore.PicRegAdapter

writeAll

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

Specified by:
writeAll in interface PicReg
Overrides:
writeAll in class TurboPicCore.PicRegAdapter

getSize

public int getSize()
Description copied from interface: PicReg
How many bits are accessable with read() and write() ?

Specified by:
getSize in interface PicReg

getSizeAll

public int getSizeAll()
Description copied from interface: PicReg
How many bits are accessable with readAll() and writeAll() ?

Specified by:
getSizeAll in interface PicReg

por

public void por()
Description copied from interface: PicReg
Power-on-reset

Specified by:
por in interface PicReg

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

setBit

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

Specified by:
setBit in interface PicReg

getBit

public boolean getBit(int bit)
Description copied from interface: PicReg
Get one specified bit

Specified by:
getBit in interface PicReg

setBreakPoint

public void setBreakPoint(int v)
Description copied from interface: PicReg
Set BreakPoint: value >= 0 : break if content equals value value = -1 : no breakpoint value = -2 : break if content has changed

Specified by:
setBreakPoint in interface PicReg

getBreakPoint

public int getBreakPoint()
Description copied from interface: PicReg
Get BreakPoint returns the value that has been set by setBreakPoint

Specified by:
getBreakPoint in interface PicReg