miSim

misim.microchip
Class PIC84_PortB

java.lang.Object
  |
  +--misim.Register
        |
        +--misim.Port
              |
              +--misim.microchip.PIC84_PortB

public class PIC84_PortB
extends Port

This extends Port to implement the Port B register functions


Fields inherited from class misim.Port
inputBits, MAX_PORT_ID, outputMask, Port_A, Port_B, Port_C, Port_D, Port_E, PortAId, PortBId, PortCId, PortDId, PortEId, portIdentifier
 
Fields inherited from class misim.Register
machineState, simple, val
 
Constructor Summary
PIC84_PortB(MachineState machineState, PIC84_Intcon intconReg, PIC84_Option optionReg, Register trisReg)
           
 
Method Summary
 void checkPortInterrupt()
          Check to see if the new data placed on this port by an external device will cause an interrupt.
 void handleUpdate()
          Dispatch a Port event to any listeners that are interested in it.
 
Methods inherited from class misim.Port
addPortListener, clearPortBits, getBitWidth, getIdentifier, rebuildPortMasks, removePortListener, setPortBits, writePort
 
Methods inherited from class misim.Register
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PIC84_PortB

public PIC84_PortB(MachineState machineState,
                   PIC84_Intcon intconReg,
                   PIC84_Option optionReg,
                   Register trisReg)
Method Detail

handleUpdate

public void handleUpdate()
Description copied from class: Port
Dispatch a Port event to any listeners that are interested in it.
Overrides:
handleUpdate in class Port

checkPortInterrupt

public void checkPortInterrupt()
Check to see if the new data placed on this port by an external device will cause an interrupt. This should be overridden by specific implementations of the port.
Overrides:
checkPortInterrupt in class Port

miSim