Apps     Components     Interfaces     All Files     Source Tree     source: tos.interfaces.ByteComm.nc

Interface: ByteComm

A byte-level communication interface. It signals byte receptions and provides a split-phased byte send interface. txByteReady states that the component can accept another byte in its queue to send, while txDone states that the send queue has been emptied.
Author: Jason Hill
  David Gay
  Philip Levis

Components providing this interface:
tos.system.UART
tos.system.UARTM

Components requiring this interface:
tos.lib.Util.UartDebuggerM
tos.system.FramerM
tos.system.NoCRCPacket

Commands

Events

Events - Details

txDone

result_t txDone(void)

Notification that the transmission has been completed and the transmit queue has been emptied.
Returns: SUCCESS always