https://github.com/j123b567/scpi-parser

Dependents:   scpi_sx127x scpi_sx127x_firstTest MLX90418_I2C_master

Revision:
1:b497f235115a
Parent:
0:aad43948c45c
--- a/inc/scpi/units.h	Thu Apr 09 22:42:15 2015 +0000
+++ b/inc/scpi/units.h	Fri Aug 07 21:54:11 2015 +0000
@@ -44,14 +44,15 @@
 #endif
 
     extern const scpi_unit_def_t scpi_units_def[];
-    extern const scpi_special_number_def_t scpi_special_numbers_def[];
-    
-    scpi_bool_t SCPI_ParamNumber(scpi_t * context, scpi_number_t * value, scpi_bool_t mandatory);
-    size_t SCPI_NumberToStr(scpi_t * context, scpi_number_t * value, char * str, size_t len);
+    extern const scpi_choice_def_t scpi_special_numbers_def[];
+
+    scpi_bool_t SCPI_ParamNumber(scpi_t * context, const scpi_choice_def_t * special, scpi_number_t * value, scpi_bool_t mandatory);
+
+    scpi_bool_t SCPI_ParamTranslateNumberVal(scpi_t * context, scpi_parameter_t * parameter);
+    size_t SCPI_NumberToStr(scpi_t * context, const scpi_choice_def_t * special, scpi_number_t * value, char * str, size_t len);
 
 #ifdef  __cplusplus
 }
 #endif
 
 #endif  /* SCPI_UNITS_H */
-