Index: firmware/App/Drivers/InternalADC.h =================================================================== diff -u -r158b4394cb66d4585bbcef39471193a7396709c6 -rcd5be724d5a3ba7457e761191d82f278654d7f5c --- firmware/App/Drivers/InternalADC.h (.../InternalADC.h) (revision 158b4394cb66d4585bbcef39471193a7396709c6) +++ firmware/App/Drivers/InternalADC.h (.../InternalADC.h) (revision cd5be724d5a3ba7457e761191d82f278654d7f5c) @@ -1,17 +1,17 @@ /************************************************************************** * -* Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. +* Copyright (c) 2019-2024 Diality Inc. - All Rights Reserved. * * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * -* @file InternalADC.h +* @file InternalADC.h * -* @author (last) Sean Nash -* @date (last) 24-Aug-2020 +* @author (last) Sean Nash +* @date (last) 14-Jan-2023 * -* @author (original) Sean Nash -* @date (original) 08-Nov-2019 +* @author (original) Sean Nash +* @date (original) 08-Nov-2019 * ***************************************************************************/ @@ -34,7 +34,7 @@ #define INT_ADC_BITS_PER_CHANNEL 12 ///< Internal ADC channels are 12-bit. #define INT_ADC_FULL_SCALE_BITS 4096 ///< Internal ADC has 4096 full scale counts per channel. #define INT_ADC_ZERO 1998 ///< For signed 2's compliment data, zero is here. -#define INT_ADC_REF_V 3.0 ///< Internal ADC reference voltage is 3.0V. +#define INT_ADC_REF_V 3.0F ///< Internal ADC reference voltage is 3.0V. /// Enumeration of internal ADC channels that are used. typedef enum Int_ADC_Channels @@ -58,7 +58,7 @@ INT_ADC_5V_LOGIC, ///< Internal ADC channel for 5V to logic INT_ADC_PRIMARY_ALARM_CURRENT_LG, ///< Internal ADC channel for primary alarm audio current low gain INT_ADC_24V_ACTUATORS, ///< Internal ADC channel for 24V to actuators - INT_ADC_BACKUP_ALARM_CURRENT, ///< Internal ADC channel for backup alarm audio current + INT_ADC_NOT_USED_2, ///< Not used INT_ADC_DUMMY, ///< Internal ADC channel - not used, needed to get even number of channels NUM_OF_INT_ADC_CHANNELS ///< Number of used internal ADC channels. } INT_ADC_CHANNEL_T;