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

    java.lang.Object
      avrora.sim.mcu.ATMega128L.USARTDevice.USARTFrame

Enclosing class:
  ATMega128L.USARTDevice

public static class ATMega128L.USARTDevice.USARTFrame
extends java.lang.Object

A `USARTFrame` is a representation of the serial frames being passed between the USART and a connected device.

Field Summary
`boolean` | `high`
`byte` | `low`

Constructor Summary
`ATMega128L.USARTDevice.USARTFrame(byte low, boolean high, int size)` Constructor for a USARTFrame.

Method Summary
`java.lang.String` | `toString()`
`int` | `value()` Returns the integer value of this data frame.

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

Field Detail

### low

    public final byte low

### high

    public final boolean high

Constructor Detail

### ATMega128L.USARTDevice.USARTFrame

    public ATMega128L.USARTDevice.USARTFrame(byte low,
                                             boolean high,
                                             int size)

  Constructor for a USARTFrame. The `high` bit is used for 9 bit frame sizes.

Method Detail

### value

    public int value()

  Returns the integer value of this data frame.

  Returns:
    intended value of this data frame

### toString

    public java.lang.String toString()

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