0
|
1 |
//---------------------------------------------------------------
|
|
2 |
//
|
|
3 |
// e c _ g l o b a l s . h
|
|
4 |
//
|
|
5 |
// $LastChangedDate$
|
|
6 |
// $Author$
|
|
7 |
//
|
|
8 |
//---------------------------------------------------------------
|
|
9 |
|
|
10 |
#define EC_CMD_APRD 0x01 // Auto-increment physical read
|
|
11 |
#define EC_CMD_APWR 0x02 // Auto-increment physical write
|
|
12 |
#define EC_CMD_NPRD 0x04 // Node-addressed physical read
|
|
13 |
#define EC_CMD_NPWR 0x05 // Node-addressed physical write
|
|
14 |
#define EC_CMD_BRD 0x07 // Broadcast read
|
|
15 |
#define EC_CMD_BWR 0x08 // Broadcast write
|
|
16 |
#define EC_CMD_LRW 0x0C // Logical read/write
|
|
17 |
|
|
18 |
#define EC_STATE_UNKNOWN 0x00
|
|
19 |
#define EC_STATE_INIT 0x01
|
|
20 |
#define EC_STATE_PREOP 0x02
|
|
21 |
#define EC_STATE_SAVEOP 0x04
|
|
22 |
#define EC_STATE_OP 0x08
|
|
23 |
|
|
24 |
#define EC_ACK_STATE 0x10
|
|
25 |
|
|
26 |
//---------------------------------------------------------------
|