mirror of
git://sigrok.org/libserialport
synced 2023-08-10 21:13:24 +03:00
Update documentation.
This commit is contained in:
parent
f9796bcb86
commit
c45eb4bee2
5
README
5
README
@ -61,8 +61,9 @@ API
|
|||||||
The API is simple, and designed to be a minimal wrapper around the serial port
|
The API is simple, and designed to be a minimal wrapper around the serial port
|
||||||
support in each OS.
|
support in each OS.
|
||||||
|
|
||||||
Most functions take a pointer to a struct sp_port, which represents an serial
|
Most functions take a pointer to a struct sp_port, which represents a serial
|
||||||
port. This structure is obtained from the array returned by sp_list_ports().
|
port. These structures are always allocated and freed by the library, using the
|
||||||
|
functions in the 'Enumeration' section below.
|
||||||
|
|
||||||
All functions can return only three possible error values. SP_ERR_ARG indicates
|
All functions can return only three possible error values. SP_ERR_ARG indicates
|
||||||
the function was called with invalid arguments. SP_ERR_FAIL indicates that the
|
the function was called with invalid arguments. SP_ERR_FAIL indicates that the
|
||||||
|
Loading…
Reference in New Issue
Block a user