|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
The validated numeric CLI scalars, parsed once before any run mode. More...
#include <mdl_cli.h>
Data Fields | |
| uint64_t | seed |
| –seed (default 1). | |
| uint32_t | timeout |
| –timeout ms (default k_req_timeout_def). | |
| size_t | chapters |
| –chapters window (clamped to >= 1). | |
| uint32_t | max_imgs |
| –max page images (0 = all). | |
| bool | from_present |
| Whether –from was supplied. | |
| double | from_num |
| –from chapter number, including decimals. | |
| size_t | pick |
| –pick discovery hit (1-based; 0 = list). | |
The validated numeric CLI scalars, parsed once before any run mode.
Parsing the string fields in one strict place means every run mode sees the same rejection of non-numeric input rather than a silent 0.
| size_t mdl_nums_t::chapters |
–chapters window (clamped to >= 1).
Definition at line 165 of file mdl_cli.h.
Referenced by mdl_cli_parse_nums(), and priv_mdl_compose_build_run().
| double mdl_nums_t::from_num |
–from chapter number, including decimals.
Definition at line 168 of file mdl_cli.h.
Referenced by internal_cli_parse_chapter_pick(), and priv_mdl_compose_build_run().
| bool mdl_nums_t::from_present |
Whether –from was supplied.
Definition at line 167 of file mdl_cli.h.
Referenced by internal_cli_parse_chapter_pick(), and priv_mdl_compose_build_run().
| uint32_t mdl_nums_t::max_imgs |
–max page images (0 = all).
Definition at line 166 of file mdl_cli.h.
Referenced by mdl_cli_parse_nums(), and priv_mdl_compose_dispatch().
| size_t mdl_nums_t::pick |
–pick discovery hit (1-based; 0 = list).
Definition at line 169 of file mdl_cli.h.
Referenced by mdl_cli_parse_nums(), and priv_mdl_compose_dispatch().
| uint64_t mdl_nums_t::seed |
–seed (default 1).
Definition at line 163 of file mdl_cli.h.
Referenced by internal_cli_parse_num_values(), priv_mdl_compose_build_run(), and priv_mdl_compose_dispatch().
| uint32_t mdl_nums_t::timeout |
–timeout ms (default k_req_timeout_def).
Definition at line 164 of file mdl_cli.h.
Referenced by mdl_cli_parse_nums(), priv_mdl_compose_build_run(), and priv_mdl_compose_dispatch().