|
jmce - 1_02 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjmce.sim.AbstractHardware
jmce.sim.AbstractPeripheral
jmce.viara.diseqc.DiseqcMotor
public class DiseqcMotor
Diseqc Motor.
This class rappresent the GUI for the Diseqc motor.
Field Summary |
---|
Fields inherited from class jmce.sim.AbstractPeripheral |
---|
cpu |
Fields inherited from interface jmce.intel.mcs51.MCS51Constants |
---|
ACC, AUXR1, 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 |
Constructor Summary | |
---|---|
DiseqcMotor()
|
Method Summary | |
---|---|
javax.swing.JComponent |
getComponent()
|
void |
MotorOff()
|
void |
MotorOn()
|
void |
registerCPU(CPU cpu)
Register a parent CPU for future reference. |
void |
reset()
Reset the the device to the initial state. |
void |
setPosition(int position)
|
void |
writeMemory(Memory m,
int a,
int v,
int oldValue)
Called when a memory write event occours. |
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, init, initSwing, removeHardware, removeHardware, setHardware, setHardware, setName, toString |
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, init, initSwing, removeHardware, removeHardware, setHardware, setHardware, setName |
Constructor Detail |
---|
public DiseqcMotor()
Method Detail |
---|
public void reset() throws SIMException
Hardware
reset
in interface Hardware
reset
in class AbstractHardware
SIMException
public void registerCPU(CPU cpu) throws SIMException
Peripheral
registerCPU
in interface Peripheral
registerCPU
in class AbstractPeripheral
SIMException
public void MotorOff()
public void MotorOn()
public void writeMemory(Memory m, int a, int v, int oldValue) throws SIMException
MemoryWriteListener
This method is called when a memory write operation occours in the specified memory.
writeMemory
in interface MemoryWriteListener
m
- - Memory involved in the write operation.a
- - Address written.v
- - Value written.oldValue
- - Old value of this memory location.
SIMException
public void setPosition(int position)
public javax.swing.JComponent getComponent()
getComponent
in interface SwingHardware
|
jmce - 1_02 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |