|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
One job. The fields are the job's; the screen reads them through fm_job_state(). More...
#include <fm_ops.h>
Data Fields | |
| fm_job_kind_t | kind |
| fm_job_state_t | state |
| fm_err_t | err |
| int | step |
| unsigned | mount |
| bool | cancel |
| bool | is_dir |
| bool | dst_was |
| bool | note_restart |
| char | src [FM_PATH_SIZE] |
| char | dst [FM_PATH_SIZE] |
| char | tmp [FM_PATH_SIZE] |
| void * | in |
| void * | out |
| uint64_t | done |
| uint64_t | total |
| fm_fill_fn | fill |
| void * | fill_ctx |
| uint8_t * | buf |
| size_t | cap |
One job. The fields are the job's; the screen reads them through fm_job_state().
| uint8_t* fm_job_t::buf |
a load's room
| bool fm_job_t::cancel |
CANCEL was pressed
| size_t fm_job_t::cap |
bytes buf takes
| uint64_t fm_job_t::done |
bytes copied, saved or loaded
| char fm_job_t::dst[FM_PATH_SIZE] |
the target's path
| bool fm_job_t::dst_was |
SAVE: the file was there at the open
| fm_err_t fm_job_t::err |
why it stopped or failed
| fm_fill_fn fm_job_t::fill |
a save's bytes
| void* fm_job_t::fill_ctx |
passed to fill
| void* fm_job_t::in |
the open source, or NULL
| bool fm_job_t::is_dir |
MOVE, RENAME, DELETE: the entry is a folder
| fm_job_kind_t fm_job_t::kind |
what it does
| unsigned fm_job_t::mount |
the mount its names are from
| bool fm_job_t::note_restart |
a saved ESC profile: read at the next start (fm_read_at_start())
| void* fm_job_t::out |
the open ".NEW", or NULL
| char fm_job_t::src[FM_PATH_SIZE] |
the source's path
| fm_job_state_t fm_job_t::state |
where it stands
| int fm_job_t::step |
the step to run next (fm_ops.c)
| char fm_job_t::tmp[FM_PATH_SIZE] |
the target's ".NEW", or the report a DELETE takes along
| uint64_t fm_job_t::total |
bytes to do; 0 for single calls