![]() |
USB EPROM/Flash Programmer
|
Defines an opcode to run. More...
#include <opcodes.hpp>
Public Member Functions | |
TCmdOpCode & | operator= (const TCmdOpCode &src) |
Assign Operator. More... | |
Public Attributes | |
kCmdOpCodeEnum | code |
OpCode. More... | |
std::string | descr |
Opcode description. More... | |
uint8_t | params |
Number of bytes of the required parameters. More... | |
uint8_t | result |
Number of bytes of the response. More... | |
Friends | |
bool | operator== (const TCmdOpCode &a, const TCmdOpCode &b) |
Equality Operator. More... | |
Defines an opcode to run.
The purpose of this structure is to define the properties of an opcode.
TCmdOpCode & operator= | ( | const TCmdOpCode & | src | ) |
|
friend |
Equality Operator.
a | One object. |
b | Another object. |
kCmdOpCodeEnum code |
std::string descr |
Opcode description.
uint8_t params |
Number of bytes of the required parameters.
uint8_t result |
Number of bytes of the response.