Loading...
Searching...
No Matches
shell_command_xfa_t Struct Reference

A single command in the list of the supported commands. More...

Detailed Description

A single command in the list of the supported commands.

This type is used internally by the SHELL_COMMAND macro.

Definition at line 176 of file shell.h.

#include <shell.h>

Data Fields

FLASH_ATTR const char * name
 Name of the function.
 
FLASH_ATTR const char * desc
 Description to print in the "help" command.
 
shell_command_handler_t handler
 The callback function.
 

Field Documentation

◆ desc

FLASH_ATTR const char* shell_command_xfa_t::desc

Description to print in the "help" command.

Definition at line 178 of file shell.h.

◆ handler

shell_command_handler_t shell_command_xfa_t::handler

The callback function.

Definition at line 180 of file shell.h.

◆ name

FLASH_ATTR const char* shell_command_xfa_t::name

Name of the function.

Definition at line 177 of file shell.h.


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