oveRTOS C API
Embedded RTOS framework — build system, configuration, and portable C API
Loading...
Searching...
No Matches
Data Fields
ove_shell_cmd Struct Reference

Descriptor for a single shell command. More...

#include <shell.h>

Data Fields

const char * name
 Command name used to match input tokens.
 
const char * help
 One-line help string shown by the built-in help command.
 
ove_shell_cmd_fn handler
 Function invoked when the command is matched.
 

Detailed Description

Descriptor for a single shell command.

Passed by pointer to ove_shell_register_cmd. The structure must remain valid (e.g. declared static) for the entire system lifetime after registration.


The documentation for this struct was generated from the following file: