)
{+=adc ();
} /=N; D;
}
/ / -------------------------------------------------- mens_adc_U100V (unsigned int N, char Range)
{Rizm, R; int Rogr=100;
/ / ----------------------------------------------------=adcN (N);
/ / ---------------------------------------------------- (Range)
{1:=4;; 2:=50;;
}=(Rizm * 6553200) / D - 10 * (Rogr + Rizm) ;/ / 0.1 кОм
/ / ---------------------------------------------------- D;
}
/ / -------------------------------------------------- unsigned int mens_adc_U5V2s (unsigned int N, char Range)
{int i, ky; unsigned int D=0, R; (i=0; i
{+=adc ();
} /=N;
/ / D -=Dk;
/ / D=(5000 * D / ky) * 100/16383 ;/ / 10 мОм (Range)
{1:=1 ;/ / 25; 2:=40 ;/ / 1000;
}=((200000/ky) * D) / 16383 ;/ / 0.1 мОм
/ / ---------------------------------------------------- D;
}
/ / -------------------------------------------------- mens_adc_U5V4s (unsigned int N, char Range)
{int i, ky; D=0, R, SS; (i=0; i
{
/ / while (== 0); +=adc ();
/ /=0;
} /=N; (Range)
{1:=25 ;/ / 25=((5000000 * D) / ky) / 16383 ;/ / 0.1 мОм; 2:=8 ;/ / 1000=((50000000 * D)/ky) / 16383 ;/ / 0.0001 мОм; 3:
/ / ky=2000 ;/ / 50000;
}
/ / ---------------------------------------------------- D;
} mens_adc_U_N4s (unsigned int N)
{int i, ky; D=0; (i=0; i
}
/ / =====================================
# endif
/ / =====================================