You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
387 B
C
27 lines
387 B
C
9 months ago
|
#pragma once
|
||
|
|
||
|
/**
|
||
|
* Offset of instruction class.
|
||
|
*/
|
||
|
#define OFFSET_CLA 0
|
||
|
/**
|
||
|
* Offset of instruction code.
|
||
|
*/
|
||
|
#define OFFSET_INS 1
|
||
|
/**
|
||
|
* Offset of instruction parameter 1.
|
||
|
*/
|
||
|
#define OFFSET_P1 2
|
||
|
/**
|
||
|
* Offset of instruction parameter 2.
|
||
|
*/
|
||
|
#define OFFSET_P2 3
|
||
|
/**
|
||
|
* Offset of command data length.
|
||
|
*/
|
||
|
#define OFFSET_LC 4
|
||
|
/**
|
||
|
* Offset of command data.
|
||
|
*/
|
||
|
#define OFFSET_CDATA 5
|