1
0
mirror of git://sigrok.org/libserialport synced 2023-08-10 21:13:24 +03:00
Commit Graph

71 Commits

Author SHA1 Message Date
Martin Ling
69a3739ca0 Add sp_drain() function. 2013-11-22 02:11:34 +01:00
Martin Ling
ea34fba899 Add missing @param port entry to documentation. 2013-11-22 01:53:27 +01:00
Martin Ling
fd8fd11a4e Make sp_flush take an option for what to flush. 2013-11-22 01:53:22 +01:00
Martin Ling
a036341bdf Use a more logical set of SP_MODE_* flags. 2013-11-22 01:48:02 +01:00
Martin Ling
20e63a77b5 Define SP_PARITY_* more logically. 2013-11-22 01:47:34 +01:00
Uwe Hermann
cf9d365ce0 Doxygen cosmetics. 2013-11-19 20:10:56 +01:00
Uwe Hermann
626d280fd3 Consistently use the "@" notation for Doxygen tags. 2013-11-19 19:37:03 +01:00
Uwe Hermann
c85d0a28de Fix minor Doxygen warning. 2013-11-19 12:30:55 +01:00
Martin Ling
c200f5c144 Clarify usage of -1 in configuration API. 2013-11-19 03:14:09 +00:00
Martin Ling
091e75fedc Group functions for documentation. 2013-11-19 03:02:45 +00:00
Martin Ling
eb6ed20f51 Use named enums instead of ints for clearer documentation. 2013-11-19 02:36:22 +00:00
Martin Ling
cd5f52812d Add doxygen documentation. 2013-11-19 02:17:38 +00:00
Martin Ling
bf2cbd652f Mark config argument to sp_set_config as const. 2013-11-19 01:13:09 +00:00
Martin Ling
067417af4f Add sp_get_config() function. 2013-11-16 20:55:53 +00:00
Martin Ling
a33d84f6a0 Remove disused flowcontrol field from sp_port_config. 2013-11-15 11:43:07 +00:00
Martin Ling
18fc2dd12b Add sp_set_flowcontrol helper function. 2013-11-15 11:43:07 +00:00
Martin Ling
e96d8bd288 Split up prototypes in include file for clarity. 2013-11-15 11:43:07 +00:00
Martin Ling
9069c2fbb2 Add functions for setting individual port parameters. 2013-11-15 11:43:07 +00:00
Martin Ling
d514a26f81 New API for serial control lines. 2013-11-15 11:43:07 +00:00
Martin Ling
d1202734fb Replace sp_set_params with sp_set_config, which takes a struct. 2013-11-15 11:43:07 +00:00
Uwe Hermann
baba075903 libserialport.h: Add package/lib version macros.
These can be used by frontends e.g. for conditional compilation, or
simply for printing, logging to debug output, and so on.
2013-11-15 09:28:34 +01:00