|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
An engine that takes a job, ends it later in an interrupt that calls its done callback with the job's user_data, and is waited for: the PPA's shape. More...
#include <gfx_turn.h>
Data Fields | |
| bool(*) | submit (void *engine, const gfx_turn_job_t *job) |
Start job. | |
| bool(*) | wait (void *engine, uint32_t budget_us) |
| Wait for the job's done callback. | |
| void * | engine |
| void * | done_ctx |
An engine that takes a job, ends it later in an interrupt that calls its done callback with the job's user_data, and is waited for: the PPA's shape.
| void* gfx_turn_engine_t::done_ctx |
every job's user_data: what the done callback needs, the display's state on the panel
| void* gfx_turn_engine_t::engine |
passed to both
| bool(*) gfx_turn_engine_t::submit(void *engine, const gfx_turn_job_t *job) |
Start job.
| engine | the engine |
| job | the block; its user_data goes to the done callback |
| bool(*) gfx_turn_engine_t::wait(void *engine, uint32_t budget_us) |
Wait for the job's done callback.
| engine | the engine |
| budget_us | the longest wait, us |