jmce - 1_02

jmce.philips.lpc900
Class Ports

java.lang.Object
  extended by jmce.sim.AbstractHardware
      extended by jmce.sim.AbstractPeripheral
          extended by jmce.intel.mcs51.Ports
              extended by jmce.philips.lpc900.Ports
All Implemented Interfaces:
MCS51Constants, LPC900Constants, Hardware, Peripheral, ResetListener

public class Ports
extends Ports
implements LPC900Constants, ResetListener

LPC90 Input output port. LPC900 have 3 I/O port but the last have only bit from 2 to 7.

Port at default are initialized in input because the standard 8051 port are initialized as semi bidirectional.

Version:
1.00
Author:
Mario Viara

Field Summary
 
Fields inherited from class jmce.sim.AbstractPeripheral
cpu
 
Fields inherited from interface jmce.philips.lpc900.LPC900Constants
AUXR1, AUXR1_SRST, BOOTSTAT, BOOTV, DEEADR, DEECON, DEEDAT, FLASH_MISC, FMADRH, FMADRL, FMCON, FMDATA, IE_WD, SEC0, SEC1, SEC2, SEC3, SEC4, SEC5, SEC6, SEC7, UCFG1, UCFG1_WDSE, UCFG1_WDTE, WDCON, WDCON_WDCLK, WDCON_WDRUN, WDCON_WDTOF, WDFEED1, WDFEED2, WDL
 
Fields inherited from interface jmce.intel.mcs51.MCS51Constants
ACC, B, DPH, DPL, IE, IE_EA, IE_EC, IE_ES, IE_ET0, IE_ET1, IE_ET2, IE_EX0, IE_EX1, P0, P0M1, P0M2, P1, P1M1, P1M2, P2, P2M1, P2M2, P3, P3M1, P3M2, PSW, PSW_AC, PSW_CY, PSW_F0, PSW_F1, PSW_OV, PSW_P, PSW_RS0, PSW_RS1, SBUF, SCON, SCON_RI, SCON_TI, SP, TCON, TCON_TF0, TCON_TF1, TCON_TR0, TCON_TR1, TH0, TH1, TL0, TL1, TMOD, TMOD_C_T0, TMOD_C_T1, TMOD_GATE0, TMOD_GATE1, TMOD_T0_M0, TMOD_T0_M1, TMOD_T1_M0, TMOD_T1_M1
 
Method Summary
 void registerCPU(CPU cpu)
          Register a parent CPU for future reference.
 void reset(CPU _cpu)
           
 
Methods inherited from class jmce.intel.mcs51.Ports
getNumPort, getPort, getSfrM1, getSfrM2, getSfrP, init, setDisableMask, setNumPort, toString
 
Methods inherited from class jmce.sim.AbstractPeripheral
idle, setIdle, setLive
 
Methods inherited from class jmce.sim.AbstractHardware
addHardware, createFrame, destroy, getHardware, getHardware, getHardware, getHardware, getHardware, getHardwareCount, getHardwareForName, getHardwareInstances, getHardwareTree, getName, getParent, initSwing, removeHardware, removeHardware, reset, setHardware, setHardware, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jmce.sim.Hardware
addHardware, destroy, getHardware, getHardware, getHardware, getHardware, getHardwareCount, getHardwareInstances, getHardwareTree, getName, getParent, initSwing, removeHardware, removeHardware, reset, setHardware, setHardware, setName
 

Method Detail

registerCPU

public void registerCPU(CPU cpu)
                 throws SIMException
Description copied from interface: Peripheral
Register a parent CPU for future reference.

Specified by:
registerCPU in interface Peripheral
Overrides:
registerCPU in class AbstractPeripheral
Throws:
SIMException

reset

public void reset(CPU _cpu)
           throws SIMException
Specified by:
reset in interface ResetListener
Throws:
SIMException

jmce - 1_02