2009/11/19 Holger Bruns <holger.br...@gmx.net>: > Gustavo Enrique Jimenez schrieb: >> >> Despite queues an baud rates, you must expect data loss. You will >> loss data in the physical layer. You have to implement some handshake >> to prevent it. (using google translator, excuse my english). >> >> >> Gustavo >> >> > > Which can be done through a direct port access and some lines of code in > assembler language. The second idea I have is the use of the device files > /dev/ttySx, but how can these files be used to get access to all of the > registers of an uart?
No, you don't need direct port access, you can use tcsetattr(). See man pages for termios and tty_ioctl (if you need to set the modem lines explicitly). Henry _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal