70 uint32_t adcBlockFreq;
82 fullAdcRate = adcRate * clks;
89 div = ((adcBlockFreq * 2 + fullAdcRate) / (fullAdcRate * 2)) - 1;
105 temp = pADC->
DR[channel];
144 pADC->
INTEN = 0x00000100;
158 switch (StatusType) {
179 pADC->
INTEN |= (1UL << channel);
182 pADC->
INTEN &= (~(1UL << channel));
253 *data = (uint8_t) temp;