Index: firmware/App/Drivers/InternalADC.h =================================================================== diff -u -r27d91d88b73aa4194cef1d3b08decc12ccdecc33 -r35de566c96433689821b7a21f731df26b40d67ae --- firmware/App/Drivers/InternalADC.h (.../InternalADC.h) (revision 27d91d88b73aa4194cef1d3b08decc12ccdecc33) +++ firmware/App/Drivers/InternalADC.h (.../InternalADC.h) (revision 35de566c96433689821b7a21f731df26b40d67ae) @@ -53,14 +53,15 @@ INT_ADC_PROCESSOR_1_2_VOLTS, ///< DG internal ADC DG processor 1.2 volt supply channel INT_ADC_SENSORS_3_3_VOLTS, ///< DG internal ADC DG sensors 3.3 volt supply channel INT_ADC_SENSORS_5_VOLTS, ///< DG internal ADC DG sensors 5 volt supply channel - INT_ADC_SENSORS_6_VOLTS, ///< DG internal ADC DG sensors 6 volt supply channel + INT_ADC_MAIN_24_VOLTS, ///< DG internal ADC DG sensors 6 volt supply channel INT_ADC_LOGIC_5_VOLTS, ///< DG internal ADC DG logic 5 volt supply channel INT_ADC_3_3_VOLTS, ///< DG internal ADC DG 3.3 volt supply channel INT_ADC_REFERENCE_VOLTAGE, ///< DG internal ADC reference voltage channel - INT_ADC_REF_IN1, ///< DG internal ADC ??? channel TODO - INT_ADC_REF_IN2, ///< DG internal ADC ??? channel TODO + INT_ADC_REF_IN1, ///< DG internal ADC external ADC1 reference voltage channel + INT_ADC_REF_IN2, ///< DG internal ADC external ADC2 reference voltage channel INT_ADC_POWER_SUPPLY_1_THERMISTOR, ///< DG internal ADC DG power supply 1 thermistor - INT_ADC_POWER_SUPPLY_2_THERMISTOR, ///< DG internal ADC DG power supply 2 thermistor + INT_ADC_POWER_SUPPLY_2_THERMISTOR, ///< DG internal ADC DG power supply 2 thermistor + INT_ADC_POWER_SUPPLY_GATE_DRIVER, ///< DG internal ADC DG power supply gate driver NUM_OF_INT_ADC_CHANNELS ///< Number of DG internal ADC channels } INT_ADC_CHANNEL_T; @@ -69,6 +70,7 @@ void initInternalADC( void ); void execInternalADC( void ); U16 getIntADCReading( INT_ADC_CHANNEL_T channel ); +F32 getIntADCVoltageConverted( INT_ADC_CHANNEL_T channel ); /**@}*/