Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
I need to wait for an external ADC to complete a conversion after triggering. The required time is 128us (microseconds). The ADC is triggered in an RTOS call. Thread::wait only uses milliseconds. What's the best way to trigger the ADC and wait for the conversion to complete? The ADC sends a falling edge upon conversion completion, but that requires an interrupt.