57 adcBitRate = (adcRate * (11 - bitsAccuracy));
60 temp = ((adcPerClock * 2 + adcBitRate) / (adcBitRate * 2)) - 1;
76 SetClock(pADC, adcRate, adcPerClock, bitsAccuracy);
82 pADC->
INTEN = 0x00000100;
101 temp = pADC->
DR[channel];
114 switch (StatusType) {
165 pADC->
INTEN |= (1UL << channel);
168 pADC->
INTEN &= (~(1UL << channel));