USB EPROM/Flash Programmer
Public Member Functions | Public Attributes | Friends | List of all members
TCmdOpCode Struct Reference

Defines an opcode to run. More...

#include <opcodes.hpp>

Public Member Functions

TCmdOpCodeoperator= (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...
 

Detailed Description

Defines an opcode to run.

The purpose of this structure is to define the properties of an opcode.

Member Function Documentation

◆ operator=()

TCmdOpCode & operator= ( const TCmdOpCode src)

Assign Operator.

Parameters
srcTCmdOpCode source object.
Returns
Reference for this.

Friends And Related Function Documentation

◆ operator==

bool operator== ( const TCmdOpCode a,
const TCmdOpCode b 
)
friend

Equality Operator.

Parameters
aOne object.
bAnother object.
Returns
True if the objects contain equal values, false otherwise.

Member Data Documentation

◆ code

◆ descr

std::string descr

Opcode description.

◆ params

uint8_t params

Number of bytes of the required parameters.

◆ result

uint8_t result

Number of bytes of the response.


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