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.mcu
Class ATMega128L.SimImpl.SPI

    java.lang.Object
      avrora.sim.mcu.ATMega128L.SimImpl.SPI

All Implemented Interfaces:
  ATMega128L.SPIDevice

Enclosing class:
  ATMega128L.SimImpl

protected class ATMega128L.SimImpl.SPI
extends java.lang.Object
implements ATMega128L.SPIDevice

Serial Peripheral Interface. Used on the `Mica2` platform for radio communication.

Nested Class Summary
`protected class` | `ATMega128L.SimImpl.SPI.SPCRReg` SPI control register.
`protected class` | `ATMega128L.SimImpl.SPI.TransmitReceive` The SPI transfer event.

Nested classes inherited from class avrora.sim.mcu.ATMega128L.SPIDevice
`ATMega128L.SPIDevice.SPIFrame`

Field Summary
`protected int` | `period`

Method Summary
`void` | `connect(ATMega128L.SPIDevice d)`
`void` | `receiveFrame(ATMega128L.SPIDevice.SPIFrame frame)` Receive a frame.
`ATMega128L.SPIDevice.SPIFrame` | `transmitFrame()` Transmit a frame from this device.

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

Field Detail

### period

    protected int period

Method Detail

### connect

    public void connect(ATMega128L.SPIDevice d)

  Specified by:
    `connect` in interface `ATMega128L.SPIDevice`

### receiveFrame

    public void receiveFrame(ATMega128L.SPIDevice.SPIFrame frame)

  Description copied from interface: `ATMega128L.SPIDevice`
  Receive a frame.

  Specified by:
    `receiveFrame` in interface `ATMega128L.SPIDevice`
  Parameters:
    `frame` - the frame to be received

### transmitFrame

    public ATMega128L.SPIDevice.SPIFrame transmitFrame()

  Description copied from interface: `ATMega128L.SPIDevice`
  Transmit a frame from this device.

  Specified by:
    `transmitFrame` in interface `ATMega128L.SPIDevice`
  Returns:
    the frame for transmission

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