|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object avrora.sim.mcu.USART.SerialPrinter
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.
Method Summary | |
void |
receiveFrame(USART.Frame frame)
Receive a frame. |
USART.Frame |
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 |
public USART.Frame transmitFrame()
USART.USARTDevice
transmitFrame
in interface USART.USARTDevice
public void receiveFrame(USART.Frame frame)
USART.USARTDevice
receiveFrame
in interface USART.USARTDevice
frame
- the frame to be received
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |