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.USART.SerialPrinter

    java.lang.Object
      avrora.sim.mcu.ATMega128L.SimImpl.USART.SerialPrinter

All Implemented Interfaces:
  ATMega128L.USARTDevice

Enclosing class:
  ATMega128L.SimImpl.USART

protected class ATMega128L.SimImpl.USART.SerialPrinter
extends java.lang.Object
implements ATMega128L.USARTDevice

A simple implementation of the USARTDevice interface that connects to a USART on the processor. It simply prints out a representation of each frame it receives.

Nested Class Summary

Nested classes inherited from class avrora.sim.mcu.ATMega128L.USARTDevice
`ATMega128L.USARTDevice.USARTFrame`

Method Summary
`void` | `receiveFrame(ATMega128L.USARTDevice.USARTFrame frame)` Receive a frame.
`ATMega128L.USARTDevice.USARTFrame` | `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`

Method Detail

### transmitFrame

    public ATMega128L.USARTDevice.USARTFrame transmitFrame()

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

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

### receiveFrame

    public void receiveFrame(ATMega128L.USARTDevice.USARTFrame frame)

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

  Specified by:
    `receiveFrame` in interface `ATMega128L.USARTDevice`
  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