OpenOCD
|
Go to the source code of this file.
Functions | |
COMMAND_HANDLER (handle_flag_command) | |
COMMAND_HANDLER (handle_foo_command) | |
COMMAND_HANDLER (handle_hello_command) | |
static | COMMAND_HELPER (handle_hello_args, const char **sep, const char **name) |
Variables | |
static const struct command_registration | foo_command_handlers [] |
static bool | foo_flag |
const struct command_registration | hello_command_handlers [] |
Export the registration for the hello command group, so it can be embedded in example drivers. More... | |
COMMAND_HANDLER | ( | handle_flag_command | ) |
Definition at line 33 of file hello.c.
References CALL_COMMAND_HANDLER, and foo_flag.
COMMAND_HANDLER | ( | handle_foo_command | ) |
Definition at line 12 of file hello.c.
References CMD_ARGC, CMD_ARGV, CMD_NAME, COMMAND_PARSE_ENABLE, COMMAND_PARSE_NUMBER, ERROR_COMMAND_SYNTAX_ERROR, ERROR_OK, and LOG_INFO.
COMMAND_HANDLER | ( | handle_hello_command | ) |
Definition at line 76 of file hello.c.
References CALL_COMMAND_HANDLER, CMD, command_print(), ERROR_OK, and name.
|
static |
|
static |
|
static |
Definition at line 31 of file hello.c.
Referenced by COMMAND_HANDLER().
const struct command_registration hello_command_handlers[] |
Export the registration for the hello command group, so it can be embedded in example drivers.