versadac  1
versadac - Scalable Recorder Firmware
ENUM_MCStatus.h
1 
2 /*
3 Status related to mc_data transactions.
4 $Id: ENUM_MCStatus.h 4938 2006-10-10 14:20:18Z martinto $
5 */
6 
7 #ifndef __ENUM_MCSTATUS_H
8 #define __ENUM_MCSTATUS_H
9 
10 enum ENUM_MCStatus
11 {
12  ENUM_MCS_OK,
13  ENUM_MCS_IllegalFunction = 0x1,
14  ENUM_MCS_IllegalDataAddress = 0x2,
15  ENUM_MCS_IllegalDataValue = 0x3,
16  ENUM_MCS_IllegalResponseLength = 0x4,
17  ENUM_MCS_Acknowledge = 0x5,
18  ENUM_MCS_SlaveDeviceBusy = 0x6,
19  ENUM_MCS_NegativeAcknowledge = 0x7,
20  ENUM_MCS_MemoryParityError = 0x8,
21  ENUM_MCS_IllegalSubFunction_5xxxOnly = 0x9,
22  ENUM_MCS_GatewayPathUnavailable = 0xA,
23  ENUM_MCS_NotLoggedIn_5xxxOnly = 0xA,
24  ENUM_MCS_TargetDeviceFailedToRespond = 0xB,
25  ENUM_MCS_Idle,
26  ENUM_MCS_Pending,
27  ENUM_MCS_Timeout,
28  ENUM_MCS_UnknownHost,
29  ENUM_MCS_ConnectFailed,
30  ENUM_MCS_NoAvailableSockets,
31  ENUM_MCS_LoopbackDataError,
32  ENUM_MCS_LoginFailed,
33  ENUM_MCS_UnknownError,
34  ENUM_MCS_TransactionDisabled,
35  ENUM_MCS_SocketWriteFailed,
36  ENUM_MCS_MasterRejected,
37  ENUM_NumberOfMCStatus
38 };
39 
40 #endif /* __ENUM_MCDEVICE_DATA_STATUS_H */