avrora.sim.mcu
Class ATMega128L.USARTDevice.USARTFrame

java.lang.Object
  extended byavrora.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()