user/ec_globals.h
author Wilhelm Hagemeister <hm@igh-essen.com>
Fri, 16 Dec 2005 09:04:00 +0000
branchkernel2.6
changeset 29 8c16582f2394
parent 0 05c992bf5847
permissions -rw-r--r--
tries left auf 20 geaendert
//---------------------------------------------------------------
//
//  e c _ g l o b a l s . h
//
//  $LastChangedDate$
//  $Author$
//
//---------------------------------------------------------------

#define EC_CMD_APRD 0x01 // Auto-increment physical read
#define EC_CMD_APWR 0x02 // Auto-increment physical write
#define EC_CMD_NPRD 0x04 // Node-addressed physical read
#define EC_CMD_NPWR 0x05 // Node-addressed physical write
#define EC_CMD_BRD  0x07 // Broadcast read
#define EC_CMD_BWR  0x08 // Broadcast write
#define EC_CMD_LRW  0x0C // Logical read/write

#define EC_STATE_UNKNOWN 0x00
#define EC_STATE_INIT    0x01
#define EC_STATE_PREOP   0x02
#define EC_STATE_SAVEOP  0x04
#define EC_STATE_OP      0x08

#define EC_ACK_STATE 0x10

//---------------------------------------------------------------