Discovery with wait an select ist ready...

FossilOrigin-Name: 115fa489fbb4aa197e8390d40abcea80a8d4f954fecab348ce2862d2a20523c2
This commit is contained in:
7u83@mail.ru
2018-03-30 17:45:27 +00:00
parent d0e8d2c6fd
commit bbc64dd0a7
15 changed files with 214 additions and 147 deletions

View File

@ -74,12 +74,18 @@ typedef time_t cw_timer_t;
* and #cw_clock_lap.
* @param c name of the variable
*
* Example:
* @code
* Example
* @code{.c}
* #include "cw/timer.h"
*
* CW_CLOCK_DEFINE(clk);
* int t;
*
* cw_clock_start(clk);
*
* @startcomment do something ... @endcomment
* int t = cw_clock_lap(clk);
*
* t = cw_clock_lap(clk);
* printf("Caclulation took %d seconds\n",t);
* @endcode
*