4741aa72 |
1 | /****************************************************************************** |
2 | * |
3 | * LDC2 source code |
4 | * |
5 | * $Date: 2007/03/26 01:00:40 $ |
6 | * $Author: hachti $ |
7 | * |
8 | * $Log: hw_constants.hh,v $ |
9 | * Revision 2.0 2007/03/26 01:00:40 hachti |
10 | * *** empty log message *** |
11 | * |
12 | * |
13 | ******************************************************************************/ |
14 | |
97b26985 |
15 | #ifndef HW_CONSTANTS_H |
16 | #define HW_CONSTANTS_H |
17 | |
18 | /* Block start delimiter */ |
7880ae2d |
19 | #define BLOCK_START_DELIMITER 0x81 //0201 (SOM:Start of Message) |
97b26985 |
20 | |
21 | #define MINIMUM_DATA_BLOCK_WORDSIZE 1 |
22 | |
23 | /* Block end delimiters */ |
fed2c751 |
24 | #define EOB_LENGTH 2 |
7880ae2d |
25 | #define BLOCK_END_DELIMITER_1 0223 // XOFF 0x93 |
fed2c751 |
26 | #define BLOCK_END_DELIMITER_2 0xFF |
27 | |
97b26985 |
28 | /* End of Tape sequence |
29 | * If EOT_LENGTH is set to 2, EOT_1 becomes insignificant and so on |
30 | */ |
31 | #define EOT_LENGTH 3 |
32 | #define EOT_SEQ_1 0x83 |
33 | #define EOT_SEQ_2 0x93 |
34 | #define EOT_SEQ_3 0xff |
35 | |
97b26985 |
36 | #endif |