Struct minimon_params
Defined in File minimon.h
Struct Documentation
-
struct minimon_params
Parameters for initializing the monitor prior to starting it.
If minimon_params::stream1 callabacks are omitted, then the
load
andsend
commands will use stream0 (same stream as user input/output) and not print their progress to stream0. If minimon_params::stream1 callbacks are provided, then stream0 will be exclusively used for the user input/output, and stream1 for theload
andsend
commands.Public Members
-
struct minimon_irq_callbacks irqcb
-
struct minimon_stream_callbacks stream1
The callbacks for getting/sending a character to stream1 in minimon, which is used for the
load
andsend
commands. Stream0 is used for user input/output, and always uses stdio_putchar()/stdio_getchar().
-
struct minimon_cmd *cmds
The list of additional cmds to support beyond the builtins.
-
size_t n_cmds
The # of cmds in the list.
-
bool include_builtin
If TRUE, include the builtin MINIMON cmds. Otherwise, omit them. The HELP cmd is always included.
-
bool help_on_start
if TRUE, show the full help menu on minimon_start(). Useful to disable if you have lots of cmds to allow the user to more easily check build info, etc.
-
struct minimon_irq_callbacks irqcb