Documentation ¶
Overview ¶
@@ @ Author : Eacher @ Date : 2023-02-20 13:45:45 @ LastEditTime : 2023-12-25 16:29:27 @ LastEditors : Eacher @ --------------------------------------------------------------------------------< @ Description : @ --------------------------------------------------------------------------------< @ FilePath : /20yyq/serial/serial.go @@
@@ @ Author : Eacher @ Date : 2022-11-28 09:04:47 @ LastEditTime : 2024-09-23 11:05:31 @ LastEditors : Eacher @ --------------------------------------------------------------------------------< @ Description : linux 串口 @ --------------------------------------------------------------------------------< @ FilePath : /20yyq/serial/serial_linux.go @@
Index ¶
Constants ¶
const ( SIZE0 = 0 SIZE5 = 5 SIZE6 = 6 SIZE7 = 7 SIZE8 = 8 STOP0 = 0 STOP1 = 1 STOP2 = 2 STOPHALF = 15 PARITY_ZERO = 0 PARITY_NONE = 'N' PARITY_ODD = 'O' PARITY_EVEN = 'E' PARITY_MARK = 'M' PARITY_SPACE = 'S' )
const ( MIN_TIME = 0x01 MAX_TIME = 0xFF TCFLSH = 0x540B )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Directories ¶
Path | Synopsis |
---|---|
@@ @ Author : Eacher @ Date : 2023-02-20 14:42:42 @ LastEditTime : 2024-09-23 11:37:30 @ LastEditors : Eacher @ --------------------------------------------------------------------------------< @ Description : @ --------------------------------------------------------------------------------< @ FilePath : /20yyq/serial/examples/main.go @@
|
@@ @ Author : Eacher @ Date : 2023-02-20 14:42:42 @ LastEditTime : 2024-09-23 11:37:30 @ LastEditors : Eacher @ --------------------------------------------------------------------------------< @ Description : @ --------------------------------------------------------------------------------< @ FilePath : /20yyq/serial/examples/main.go @@ |