KM3NeT CLB  2.0
KM3NeT CLB v2 Embedded Software
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
sub_net.h
Go to the documentation of this file.
1 /*
2  * KM3NeT CLB v2 Firmware
3  * ----------------------
4  *
5  * Copyright 2012-2015 KM3NeT Collaboration
6  *
7  * All Rights Reserved.
8  *
9  *
10  * File : sub_net.h
11  * Created : 5 feb. 2015
12  * Author : Vincent van Beveren
13  */
14 #ifndef SUBSYS_SUB_NET_H_
15 #define SUBSYS_SUB_NET_H_
16 
17 /**
18  * @file
19  *
20  * @ingroup subsys
21  *
22  * Network subsystem. Controls networking.
23  */
24 
25 #include "appcode.h"
26 
27 #define E_NET_WRXSTATE ( E_SUBNET + 0x01 )
28 #define E_NET_WRXSTATE_DESCR "WhiteRabbit state error"
29 
30 #define E_NET_DQ_CFG ( E_SUBNET + 0x02 )
31 #define E_NET_DQ_CFG_DESCR "Dataqueue target configuration error"
32 
33 #define E_NET_NETSTATE ( E_SUBNET + 0x03 )
34 #define E_NET_NETSTATE_DESCR "Network not configured properly"
35 
36 
37 #endif /* SUBSYS_SUB_NET_H_ */
Application specific error codes.