Quantcast
Channel: MPLAB Harmony
Viewing all articles
Browse latest Browse all 7442

Bug: DRV_ADC_SamplesAvailable is blocking (muellernick)

$
0
0
Hi! Implementing my ADC-stuff, I saw that DRV_ADC_SamplesAvailable is blocking. The code is easy enough to understand:bool DRV_ADC_SamplesAvailable(void)
{
/* Wait for DONE Flag */
while (!PLIB_ADC_ConversionHasCompleted(DRV_ADC_ID_1));

Viewing all articles
Browse latest Browse all 7442

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>