HF-TMC51x0 Driver (TMC5130 & TMC5160) 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC51x0 (TMC5130 & TMC5160)
Loading...
Searching...
No Matches
OptionParser::OptionDef Struct Reference

Option definition structure for SET command options. More...

Public Attributes

OptionType type
 The option type enum value.
 
const char * short_name
 Short option name (e.g., "-v")
 
const char * long_name
 Long option name (e.g., "--velocity")
 
const char * description
 Human-readable description.
 
int min_args
 Minimum number of arguments required.
 
int max_args
 Maximum number of arguments allowed.
 

Detailed Description

Option definition structure for SET command options.

Defines a single command-line option including its type, names, description, and argument count requirements.

Member Data Documentation

◆ description

const char* OptionParser::OptionDef::description

Human-readable description.

◆ long_name

const char* OptionParser::OptionDef::long_name

Long option name (e.g., "--velocity")

◆ max_args

int OptionParser::OptionDef::max_args

Maximum number of arguments allowed.

◆ min_args

int OptionParser::OptionDef::min_args

Minimum number of arguments required.

◆ short_name

const char* OptionParser::OptionDef::short_name

Short option name (e.g., "-v")

◆ type

OptionType OptionParser::OptionDef::type

The option type enum value.


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