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.USARTDevice

All Known Implementing Classes:
  ATMega128L.SimImpl.LCDScreen, ATMega128L.SimImpl.USART, ATMega128L.SimImpl.USART.SerialPrinter

Enclosing interface:
  ATMega128L

public static interface ATMega128L.USARTDevice

The `USARTDevice` interface describes USARTs and other serial devices which can be connected to the USART. For simplicity, a higher-level interface communicating by frames of data is used, rather than bits or a representation of changing voltages.

Nested Class Summary
`static class` | `ATMega128L.USARTDevice.USARTFrame` A `USARTFrame` is a representation of the serial frames being passed between the USART and a connected device.

Method Summary
`void` | `receiveFrame(ATMega128L.USARTDevice.USARTFrame frame)` Receive a frame.
`ATMega128L.USARTDevice.USARTFrame` | `transmitFrame()` Transmit a frame from this device.

Method Detail

### transmitFrame

    public ATMega128L.USARTDevice.USARTFrame transmitFrame()

  Transmit a frame from this device.

  Returns:
    the frame for transmission

### receiveFrame

    public void receiveFrame(ATMega128L.USARTDevice.USARTFrame frame)

  Receive a frame.

  Parameters:
    `frame` - the frame to be received

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