versadac  1
versadac - Scalable Recorder Firmware
ENUM_UhhMsg_Res.h
1 
2 /*
3 Enumerations for Uhh Message Interface
4 $Id: ENUM_UhhMsg_Res.h 4938 2006-10-10 14:20:18Z martinto $
5 */
6 
7 #ifndef __ENUM_UHHMSG_RES_H
8 #define __ENUM_UHHMSG_RES_H
9 
10 /* Response buffer structure offsets.
11  The response buffer consists of a fixed size header which is always present,
12  plus message-specific extra data bytes where necessary*/
13 
14 enum ENUM_UhhMsg_Res
15 {
16  ENUM_UhhMsg_Res_NumExtra = 0, /* UINT24 Number of extra bytes */
17  ENUM_UhhMsg_Res_Err = 3, /* UINT8 Error code */
18  ENUM_UhhMsg_Res_Params = 4, /* Message-specific parameters */
19  ENUM_UhhMsg_Res_Extra = 16, /* Start of extra bytes beyond header */
20  ENUM_UhhMsg_Res_HdrSize = ENUM_UhhMsg_Res_Extra /* Header size */
21 };
22 
23 #endif /* __ENUM_UHHMSG_RES_H */