/* Get the temperature trim parameters after configuring the ADC. 
WARNING: only call this after the ADC has been configured with am_hal_adc_config. */
void am_hal_adc_temp_trims_get(float *pfTemp, float *pfVoltage, float *pfOffsetV)
/* Get the temperature trim parameters after configuring the ADC. 
WARNING: only call this after the ADC has been configured with am_hal_adc_config. */
void am_hal_adc_temp_trims_get(float *pfTemp, float *pfVoltage, float *pfOffsetV)
{
    if ( pfTemp != NULL )
    {
        *pfTemp = priv_temp_trims.flt.fCalibrationTemperature;
    }
    if ( pfVoltage != NULL )
    {
        *pfVoltage = priv_temp_trims.flt.fCalibrationVoltage;
    }
    if ( pfOffsetV != NULL )
    {
        *pfOffsetV = priv_temp_trims.flt.fCalibrationOffset;
    }
}