Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## avrora.sim.platform
Class PinWire

    java.lang.Object
      avrora.sim.platform.PinWire

public class PinWire
extends java.lang.Object

The `PinWire` class is the interface for making wire connections to other microcontrollers.

Field Summary
`protected ATMegaFamily` | `atmel`
`protected int` | `colorNum`
`protected java.lang.String` | `pinName`
`protected avrora.sim.platform.PinWire.PinWireProbe` | `probe`
`protected Simulator` | `sim`
`protected FiniteStateMachine` | `state`
`avrora.sim.platform.PinWire.WireInput` | `wireInput`
`avrora.sim.platform.PinWire.WireOutput` | `wireOutput`

Constructor Summary
`protected` | `PinWire(Simulator s, int colorNum, java.lang.String pinName)`
`protected` | `PinWire(Simulator s, int colorNum, java.lang.String pinName, int interruptNum, Microcontroller mcu)`

Method Summary
`void` | `disableConnect()`
`void` | `enableConnect()`
`boolean` | `inputReady()`
`boolean` | `outputReady()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### sim

    protected Simulator sim

### state

    protected final FiniteStateMachine state

### colorNum

    protected final int colorNum

### pinName

    protected final java.lang.String pinName

### atmel

    protected final ATMegaFamily atmel

### wireInput

    public avrora.sim.platform.PinWire.WireInput wireInput

### wireOutput

    public avrora.sim.platform.PinWire.WireOutput wireOutput

### probe

    protected final avrora.sim.platform.PinWire.PinWireProbe probe

Constructor Detail

### PinWire

    protected PinWire(Simulator s,
                      int colorNum,
                      java.lang.String pinName)

### PinWire

    protected PinWire(Simulator s,
                      int colorNum,
                      java.lang.String pinName,
                      int interruptNum,
                      Microcontroller mcu)

Method Detail

### enableConnect

    public void enableConnect()

### disableConnect

    public void disableConnect()

### inputReady

    public boolean inputReady()

### outputReady

    public boolean outputReady()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD