ComSendBytes

ComSendBytes copies application data to transmit buffers and starts the UART transmitter, if necessary.

This non-blocking function attempts to copy an application's data to internal communication port transmit buffers, constrained by the setting of the Mode parameter. It is very likely this function will return before the data copied into the internal buffers are completely transmitted. If the application needs to know when the data is completely transmitted, the ComXmitting call is provided.

Note that since System Manager calls can have significant overhead, it is advisable for the application to perform some level of local buffering and not perform character-at-a-time writes to the port's internal buffers.