CardSight 0.1.0
C API reference for the CardSight firmware and application
Loading...
Searching...
No Matches
shell_cmd Struct Reference

One command registered in the .shell_cmd linker section. More...

#include <shell.h>

Data Fields

const char * name
const char * help
int(* fn )(int argc, char **argv)

Detailed Description

One command registered in the .shell_cmd linker section.

Field Documentation

◆ fn

int(* shell_cmd::fn) (int argc, char **argv)

Handler; returns the command result.

◆ help

const char* shell_cmd::help

One-line description shown by help.

◆ name

const char* shell_cmd::name

Word that selects the command.


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