Index: Common.h =================================================================== diff -u -r69026a5e09f0adb43b19b41eee993dd1d68b5b75 -rea50b65284ae5683fd7e6b89fd8134cf46777722 --- Common.h (.../Common.h) (revision 69026a5e09f0adb43b19b41eee993dd1d68b5b75) +++ Common.h (.../Common.h) (revision ea50b65284ae5683fd7e6b89fd8134cf46777722) @@ -105,13 +105,19 @@ #define SHIFT_BITS_BY_4 4U ///< Number of bits to shift in order to shift a nibble #define FLOAT_TO_INT_ROUNDUP_OFFSET 0.5 ///< Offset to add to a floating point value for rounding rounding when converting to integer #define ML_PER_LITER 1000 ///< Number of milliliters in a liter +#define MA_PER_AMP 1000 ///< Number of milliamps in an amp #define MS_PER_SECOND 1000 ///< Number of milliseconds in a second #define US_PER_SECOND 1000000 ///< Number of microseconds in a millisecond #define SEC_PER_MIN 60 ///< Number of seconds in a minute #define FRACTION_TO_PERCENT_FACTOR 100.0 ///< Percentage factor (100) #define MIN_PER_HOUR 60 ///< Number of minutes in an hour #define PI 3.1415927 ///< PI #define SECONDS_IN_A_DAY 86400 ///< Number of seconds in a day +#define BITS_8_FULL_SCALE 256 ///< Full scale range for 8 bit ADC or DAC +#define BITS_10_FULL_SCALE 1024 ///< Full scale range for 10 bit ADC or DAC +#define BITS_12_FULL_SCALE 4096 ///< Full scale range for 12 bit ADC or DAC +#define BITS_14_FULL_SCALE 16384 ///< Full scale range for 14 bit ADC or DAC +#define BITS_16_FULL_SCALE 65536 ///< Full scale range for 16 bit ADC or DAC // **** Common Macros ****