KM3NeT CLB  2.0
KM3NeT CLB v2 Embedded Software
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
appcode.h
Go to the documentation of this file.
1 /*
2  * KM3NeT CLB v2 Firmware
3  * ----------------------
4  *
5  * Copyright 2013 KM3NeT Collaboration
6  *
7  * All Rights Reserved.
8  *
9  *
10  * File : appcode.h
11  * Created : 9 jan. 2014
12  * Author : Vincent van Beveren
13  */
14 
15 
16 #ifndef APPCODE_H_
17 #define APPCODE_H_
18 
19 #include "errorcode.h"
20 
21 /**
22  * @file
23  *
24  * @ingroup app
25  *
26  * Application specific error codes.
27  */
28 
29 
30 #define E_CLBSTATE ( E_APP + 0x0100 ) //!< CLB State Machine Errors
31 #define E_CONFIG ( E_APP + 0x0200 ) //!< Configuration system error
32 #define E_SUBSYS ( E_APP + 0x1000 ) //!< CLB subsystem System error
33 #define E_SUBNET ( E_APP + 0x2000 ) //!< CLB subsystem Network / Timing error
34 #define E_SUBOPT ( E_APP + 0x3000 ) //!< CLB subsystem Optics error
35 #define E_SUBACS ( E_APP + 0x4000 ) //!< CLB subsystem Acoustics error
36 #define E_SUBINS ( E_APP + 0x5000 ) //!< CLB subsystem Instrumentation error
37 #define E_SUBBSE ( E_APP + 0x6000 ) //!< CLB subsystem Instrumentation error
38 
39 #endif /* APPCODE_H_ */
This module is responsible for distributing error codes.