summaryrefslogtreecommitdiffstats
path: root/inc/vision-artificial/proc/resistor.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/vision-artificial/proc/resistor.h')
-rw-r--r--inc/vision-artificial/proc/resistor.h71
1 files changed, 71 insertions, 0 deletions
diff --git a/inc/vision-artificial/proc/resistor.h b/inc/vision-artificial/proc/resistor.h
new file mode 100644
index 0000000..51dd735
--- /dev/null
+++ b/inc/vision-artificial/proc/resistor.h
@@ -0,0 +1,71 @@
+/******************************************************************************
+ * Copyright (C) 2018 Alejandro Colomar Andrés *
+ * SPDX-License-Identifier: GPL-2.0-only *
+ ******************************************************************************/
+
+
+/******************************************************************************
+ ******* include guard ********************************************************
+ ******************************************************************************/
+#ifndef VA_PROC_RESISTOR_H
+#define VA_PROC_RESISTOR_H
+
+
+/******************************************************************************
+ ******* headers **************************************************************
+ ******************************************************************************/
+
+
+/******************************************************************************
+ ******* macros ***************************************************************
+ ******************************************************************************/
+
+
+/******************************************************************************
+ ******* enums ****************************************************************
+ ******************************************************************************/
+enum Proc_Resistor {
+ RESISTOR_OK,
+ RESISTOR_NOK_RESISTOR,
+ RESISTOR_NOK_BANDS,
+ RESISTOR_NOK_COLOR,
+ RESISTOR_NOK_STD_VALUE,
+ RESISTOR_NOK_TOLERANCE
+};
+
+
+/******************************************************************************
+ ******* structs / unions *****************************************************
+ ******************************************************************************/
+
+
+/******************************************************************************
+ ******* variables ************************************************************
+ ******************************************************************************/
+
+
+/******************************************************************************
+ ******* extern functions *****************************************************
+ ******************************************************************************/
+int proc_resistor (void);
+
+
+/******************************************************************************
+ ******* static inline functions (prototypes) *********************************
+ ******************************************************************************/
+
+
+/******************************************************************************
+ ******* static inline functions (definitions) ********************************
+ ******************************************************************************/
+
+
+/******************************************************************************
+ ******* include guard ********************************************************
+ ******************************************************************************/
+#endif /* vision-artificial/proc/resistor.h */
+
+
+/******************************************************************************
+ ******* end of file **********************************************************
+ ******************************************************************************/