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
|
|
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 |
low
public final byte low
high
public final boolean high
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.
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()