Motor Driver Evaluation Kit NEVB-MTR1-t01-1.0.0
Firmware for NEVB-MTR1-KIT1 for trapezoidal control of BLDC motors using Hall-effect sensors
|
SCPI parser header file. More...
Go to the source code of this file.
Classes | |
class | SCPI_Parser |
SCPI Parser class. More... | |
struct | SCPI_Parser::internal_errors |
Internal errors container. More... | |
Typedefs | |
using | SCPI_caller_t = void (*)(SCPI_Commands, SCPI_Parameters, Stream &) |
Void template used with SCPI_Parser::RegisterCommand. | |
using | SCPI_special_caller_t = void (*)(SCPI_Commands, Stream &) |
Void template used with SCPI_Parser::RegisterSpecialCommand. | |
SCPI parser header file.
This header file defines the SCPI_Parser class, which is the core component of the library, and was originally part of the Vrekrer SCPI Parser project.
It has been merged into this code base for customization and linking limitations of the Arduino IDE.
This class provides the functionality to parse and execute commands adhering to the Standard Commands for Programmable Instruments (SCPI) syntax. It includes methods for registering SCPI commands with associated callback functions, setting a command tree base for hierarchical command organization, processing incoming SCPI messages from a serial stream, and handling errors. The class also defines internal structures and variables used for command storage, tokenization, and hashing to efficiently match received commands with their registered handlers.
Definition in file scpi_parser.h.
using SCPI_caller_t = void (*)(SCPI_Commands, SCPI_Parameters, Stream &) |
Void template used with SCPI_Parser::RegisterCommand.
Definition at line 41 of file scpi_parser.h.
using SCPI_special_caller_t = void (*)(SCPI_Commands, Stream &) |
Void template used with SCPI_Parser::RegisterSpecialCommand.
Definition at line 43 of file scpi_parser.h.