-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsinqhm_errors.h
executable file
·53 lines (37 loc) · 1.79 KB
/
sinqhm_errors.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*******************************************************************************
sinqhm_errors.h
*******************************************************************************/
#ifndef _SINQHM_ERRORS_H_
#define _SINQHM_ERRORS_H_
/*******************************************************************************
constant and macro definitions
*******************************************************************************/
#define SINQHM_OK 0
/**
* error codes
*/
#define SINQHM_ERR_ALLOCFAIL -1001
#define SINQHM_ERR_NOTCONNECTED -1002
#define SINQHM_ERR_NOTFOUND -1003
#define SINQHM_ERR_NOTCONFIGURED -2001
#define SINQHM_ERR_NOSUCHBANK -2015
#define SINQHM_ERR_BADCONFIG -2016
#define SINQHM_ERR_FILLERTIMEOUT -2017
#define SINQHM_ERR_EMPTY_FIFO -8000
#define SINQHM_ERR_FIL_MALLOC_FAILED -8001
#define SINQHM_ERR_VAL_LOW -8100
#define SINQHM_ERR_VAL_HIGH -8101
#define SINQHM_ERR_NO_VALID_CONFIG -8200
#define SINQHM_ERR_NO_HISTO_DESCR_PTR -8201
#define SINQHM_ERR_NO_HISTO_DATA_PTR -8202
#define SINQHM_ERR_NO_BANK_DESCR_PTR -8203
#define SINQHM_ERR_NO_BANK_DATA_PTR -8204
#define SINQHM_ERR_NO_BANK_MAPPING_ARRAY -8205
#define SINQHM_ERR_NO_AXIS_DESCR_PTR -8206
#define SINQHM_ERR_UNKNOWN_AXIS_MAPPING -8207
#define SINQHM_ERR_WRONG_AXIS_MAPPING -8208
#define SINQHM_ERR_UNKNOWN_FILLER_TYPE -8209
#define SINQHM_ERR_WRONG_NUMBER_OF_BANKS -8210
#define SINQHM_ERR_WRONG_NUMBER_OF_AXIS -8211
/******************************************************************************/
#endif // _SINQHM_ERRORS_H_