blob: 9982e6ff88a5fcb74b5f3faf13e563bdcb95fb72 (
plain) (
blame)
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
|
/******************************************************************************
* Copyright (C) 2018 Alejandro Colomar Andrés *
******************************************************************************/
/******************************************************************************
******* include guard ********************************************************
******************************************************************************/
# ifndef VA_PROC_RESISTOR_HPP
# define VA_PROC_RESISTOR_HPP
/******************************************************************************
******* macros ***************************************************************
******************************************************************************/
/******************************************************************************
******* enums ****************************************************************
******************************************************************************/
enum Proc_Resistor {
RESISTOR_OK,
RESISTOR_NOK_RESISTOR,
RESISTOR_NOK_BANDS,
RESISTOR_NOK_COLOR,
RESISTOR_NOK_STD_VALUE,
RESISTOR_NOK_TOLERANCE
};
/******************************************************************************
******* C wrapper ************************************************************
******************************************************************************/
extern "C" {
/******************************************************************************
******* variables ************************************************************
******************************************************************************/
/******************************************************************************
******* functions ************************************************************
******************************************************************************/
int proc_resistor (void);
/******************************************************************************
******* C wrapper ************************************************************
******************************************************************************/
} /* extern "C" */
/******************************************************************************
******* include guard ********************************************************
******************************************************************************/
# endif /* proc_resistor.hpp */
/******************************************************************************
******* end of file **********************************************************
******************************************************************************/
|