|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
Data Fields | |
| int32_t(*) | put (void *ctx, const uint8_t *p, uint32_t n) |
| wa_wait_t(*) | wait (void *ctx, uint32_t ms) |
| bool(*) | stop (void *ctx) |
| uint32_t(*) | now_ms (void *ctx) |
| void * | ctx |
| uint32_t(*) wa_sink_t::now_ms(void *ctx) |
Milliseconds; wraps at 2^32.
| int32_t(*) wa_sink_t::put(void *ctx, const uint8_t *p, uint32_t n) |
Queue up to n bytes without waiting: the bytes taken, 0 when none fit, -1 when the connection failed.
| bool(*) wa_sink_t::stop(void *ctx) |
True when the transfer is to end now; NULL for never.
| wa_wait_t(*) wa_sink_t::wait(void *ctx, uint32_t ms) |
Wait at most ms for room.