Home |
RTKernel-32 Programming Manual Function COMSendBlock Function COMWaitSendBufferEmpty |
Function COMSendBlockCOMSendBlock sends a block of data to a COM port: void COMSendBlock(int Port, const void * Data, unsigned Length); ParametersPortThe port for sending. DataPointer to a buffer containing the data to be sent. LengthThe number of bytes in the data buffer to be sent. This function is equivalent to: for(i=0; i<Length; i++) COMSendChar(Port, Data[i]); but is faster.
|