Computation during analogRead on Arduino
<p>The Arduino A/D converter takes about 0.1ms according to the manual.  Actually, my tests show that on an Uno I can execute about 7700 per second in a loop.</p>

<p>Unfortunately analogRead waits while the reading is being performed, making it difficult to get anything done.</p>

<p>I wish to interleave computation with a series of A/D conversions.  Is there any way of initiating the analogRead, then checking the timing and getting the completed value later?  If this needs to be low-level and non-portable to other versions, I can deal with that.</p>

<p>Looking for a solution that would allow sampling all the channels on an Arduino on a regular basis, then sending data via SPI or I2C.  I am willing to consider interrupts, but the sampling must remain extremely periodic.</p>