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
Interface ATMega128L.SPIDevice

All Known Implementing Classes:
  ATMega128L.SimImpl.SPI, ATMega128L.SimImpl.SPIPrinter, CC1000Radio.ATMega128LController

Enclosing interface:
  ATMega128L

public static interface ATMega128L.SPIDevice

Interface for devices that can connect to the SPI. Rather than communicating over the MISO, MOSI pins, the process is expedited and simplified through the use of the transmitFrame() and receiveFrame() methods in the intefact.

Nested Class Summary
`static class` | `ATMega128L.SPIDevice.SPIFrame` A single byte data frame for the SPI.

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.

Method Detail

### transmitFrame

    public ATMega128L.SPIDevice.SPIFrame transmitFrame()

  Transmit a frame from this device.

  Returns:
    the frame for transmission

### receiveFrame

    public void receiveFrame(ATMega128L.SPIDevice.SPIFrame frame)

  Receive a frame.

  Parameters:
    `frame` - the frame to be received

### connect

    public void connect(ATMega128L.SPIDevice d)

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