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
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();