Question on adc1_get_raw
Posted: Thu Oct 24, 2019 3:22 pm
Hello everyone,
I know adc1_get_raw is blocking cpu on polling meas1_done_sar.
Can we add taskYIELD() to make it slightly efficient?
Thanks,
John
I know adc1_get_raw is blocking cpu on polling meas1_done_sar.
Code: Select all
while (SENS.sar_meas_start1.meas1_done_sar == 0);
Code: Select all
while (SENS.sar_meas_start1.meas1_done_sar == 0) taskYIELD();
John