This function performs a differential or single ended measurement on nodes.
853 int32_t ADC_misura_fatta_pos=0, ADC_misura_fatta_neg=0,risul_vof=0;
856 ADC_misura_fatta_pos=
ADC_lettura(scheda_su_scheda_giu, nodo_da_leggere, 2);
864 if(differenziale_1_single_0){
870 ADC_misura_fatta_neg =
ADC_lettura(scheda_su_scheda_giu, nodo_da_leggere + offset, 2);
878 ADC_misura_fatta_neg=0;
880 return ADC_misura_fatta_pos = ADC_misura_fatta_pos - ADC_misura_fatta_neg;
int ADC_compensazione_al_nodo(uint8_t line_to_read, int32_t lettura_ADC, int32_t lettura_offset)
This function allows to read a whatver regsiter of the ADC.
long int ADC_lettura_24bit(char line_to_read_to_select_ADCch0_ADCch1, uint8_t up_down, uint8_t cosa_fare)
ADC Wakeup and 24 bits reading.
static int32_t ADC_misura_differenziale_single_ended(uint8_t scheda_su_scheda_giu, uint8_t nodo_da_leggere, uint8_t differenziale_1_single_0)
This function performs a differential or single ended measurement on nodes.
int32_t ADC_lettura(uint8_t scheda_su_scheda_giu_, uint8_t node_to_read, uint8_t cosa_fare)
This function allows to read the voltage of any of the selectable nodes.
volatile bool ADC_non_leggi_lo_offset_se_true
if not necessary, the ADC input offset from buffer is not read
@ node_voltage_PreOut_ch_5
Node voltage selection of PreOut 12+5 board down.