Reference Codebot.IO.SerialPort.pas
Part of the Codebot package
The Codebot.IO.SerialPort unit gives you TSerialPort, which reads and writes a serial port on Linux and Windows. TSerialPortOptions holds the line settings of the port, and EnumSerialPorts lists the serial ports on the computer.
Items 46 items
| Name | Kind | Line |
|---|---|---|
| Baud115200 | constant | 33 |
| Baud1200 | constant | 26 |
| Baud19200 | constant | 30 |
| Baud230400 | constant | 34 |
| Baud2400 | constant | 27 |
| Baud300 | constant | 25 |
| Baud38400 | constant | 31 |
| Baud4800 | constant | 28 |
| Baud57600 | constant | 32 |
| Baud9600 | constant | 29 |
| Bits5 | constant | 37 |
| Bits6 | constant | 38 |
| Bits7 | constant | 39 |
| Bits8 | constant | 40 |
| EnumSerialPorts | procedure | 118 |
| TFlowControl | set | 48 |
| TParity | enum | 44 |
| prNone | enum value | 44 |
| prOdd | enum value | 44 |
| prEven | enum value | 44 |
| TSerialPort | class | 79 |
| Close | procedure | 98 |
| Create | constructor | 90 |
| Destroy | destructor | 92 |
| Open | function | 94, 96 |
| Read | function | 100 |
| ReadBinary | function | 102 |
| Write | procedure | 104 |
| WriteBinary | procedure | 106 |
| XOff | procedure | 110 |
| XOn | procedure | 108 |
| Device | property | 114 |
| Opened | property | 112 |
| TSerialPortOptions | record | 52 |
| Baud | field | 55 |
| DataBits | field | 57 |
| FlowControl | field | 63 |
| Min | field | 65 |
| Parity | field | 59 |
| StopBits | field | 61 |
| Timeout | field | 67 |
| Create | function | 69, 71 |
| ToString | function | 74 |
| TStopBits | enum | 46 |
| sbOne | enum value | 46 |
| sbTwo | enum value | 46 |