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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
/******************************************************************************
* Copyright (C) 2018 Alejandro Colomar Andrés *
* SPDX-License-Identifier: GPL-2.0-only *
******************************************************************************/
/******************************************************************************
******* include guard ********************************************************
******************************************************************************/
#ifndef VA_PROC_IFACE_HPP
#define VA_PROC_IFACE_HPP
/******************************************************************************
******* headers **************************************************************
******************************************************************************/
/******************************************************************************
******* macros ***************************************************************
******************************************************************************/
/******************************************************************************
******* enums ****************************************************************
******************************************************************************/
enum Proc_Mode {
PROC_MODE_FOO,
PROC_MODE = 0x008000u,
PROC_MODE_LABEL_SERIES,
PROC_MODE_LABEL_CALIB,
PROC_MODE_OBJECTS_SERIES,
PROC_MODE_OBJECTS_CALIB,
PROC_MODE_COINS_SERIES,
PROC_MODE_COINS_CALIB,
PROC_MODE_RESISTOR_SERIES,
PROC_MODE_RESISTOR_CALIB,
PROC_MODE_LIGHTERS_SERIES,
PROC_MODE_LIGHTERS_CALIB
};
enum Proc_DBG {
PROC_DBG_NO,
PROC_DBG_STOP_ITEM,
PROC_DBG_DELAY_STEP,
PROC_DBG_STOP_STEP
};
/******************************************************************************
******* structs / unions *****************************************************
******************************************************************************/
/******************************************************************************
******* variables ************************************************************
******************************************************************************/
extern int proc_debug;
extern int proc_mode;
/******************************************************************************
******* extern functions *****************************************************
******************************************************************************/
extern "C"
{
int proc_iface_single (int action);
void proc_iface_series (void);
}
/******************************************************************************
******* static inline functions (prototypes) *********************************
******************************************************************************/
/******************************************************************************
******* static inline functions (definitions) ********************************
******************************************************************************/
/******************************************************************************
******* include guard ********************************************************
******************************************************************************/
#endif /* vision-artificial/proc/iface.hpp */
/******************************************************************************
******* end of file **********************************************************
******************************************************************************/
|