[Lazarus] SdpoSerial Tx and Rx buffers?
José Mejuto
joshyfun at gmail.com
Wed Feb 16 12:07:28 CET 2011
Hello Lazarus-List,
Wednesday, February 16, 2011, 10:59:02 AM, you wrote:
MS> On 02/15/2011 10:45 AM, Bo Berglund wrote:
>> Does that mean that until all of the bytes have left the serial port
>> the Write does not return to my program? This is exactly why I asked
>> about the buffers...
MS> Regarding sending, there still is a FiFo (usually some 4..64 Bytes ) in
MS> the serial hardware (hundreds or thousands of bytes) and a software Fifo
MS> in the OS driver. So the software can't tell when something has left the
MS> serial port. For such deeply embedded issues the specifics of the
MS> driver and hardware needs to be considered
AFAIK the FIFO is in the receive, in sent the FIFOs are filled but
function does not return until the hardware sends the last byte.
--
Best regards,
José
More information about the Lazarus
mailing list