X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=libserialport.h;h=1ff0b68e95efdc5773a69e9cc72c42c2d5434d97;hb=75f468923b9805207ce62f007f85c13444df314b;hp=65f96799933a008fab903cc9be95b175668e744e;hpb=4720053160d21db8c4da8202a139be1935990e5e;p=libserialport.git diff --git a/libserialport.h b/libserialport.h index 65f9679..1ff0b68 100644 --- a/libserialport.h +++ b/libserialport.h @@ -68,6 +68,7 @@ * - @ref list_ports.c - Getting a list of ports present on the system. * - @ref port_info.c - Getting information on a particular serial port. * - @ref port_config.c - Accessing configuration settings of a port. + * - @ref await_events.c - Awaiting events on multiple ports. * - @ref handle_errors.c - Handling errors returned from the library. * * These examples are linked with the API documentation. Each function @@ -1478,6 +1479,8 @@ SP_API enum sp_return sp_drain(struct sp_port *port); * * Waiting for events and timeout handling. * + * See @ref await_events.c for an example of awaiting events on multiple ports. + * * @{ */ @@ -1809,6 +1812,7 @@ SP_API const char *sp_get_lib_version_string(void); * @example list_ports.c Getting a list of ports present on the system. * @example port_info.c Getting information on a particular serial port. * @example port_config.c Accessing configuration settings of a port. + * @example await_events.c - Awaiting events on multiple ports. * @example handle_errors.c - Handling errors returned from the library. */