Searched refs:g_adc_vref (Results 1 – 1 of 1) sorted by relevance
31 _attribute_data_retention_sec_ unsigned short g_adc_vref = 1175; //default ADC ref voltage (unit:mV) variable156 g_adc_vref = 1175; in adc_set_ref_voltage()163 g_adc_vref=900;// v_ref = ADC_VREF_0P9V, in adc_set_ref_voltage()360 return ((adc_code * g_adc_vbat_divider * g_adc_pre_scale * g_adc_vref)>>13); in adc_calculate_voltage()