Hi Simon,
I have had a long look at Simon Blandford's ADC library and it does offer the functionality that I would like from the ADC hardware. But it is not an elegant fit for the the mbed API. I believe the power of mbed comes from it's attempt at an orthogonal design.
The mbed API treats each pin as an object with a set related methods which follow a common pattern, i.e. a method on the AnalogIn object is also found on the DigitalIn object (if it makes sense). Thus once one has been learned, the user already has a good idea how to use the other.
It would be nice to retrofit the extra ADC functionality to the existing AnalogIn class. If that is what you meant by making it "official", then yay! :)
Hello, I would like to request two new methods for the AnalogIn class. It would be nice to be able to perform asynchronous analog reads (since they take so long to acquire). I think the addition of a start() method and an attach() method would be a welcome Addition to the API. A call to start() would start the aquision and the attch() method would allow us to have some isr to execute when the aquision is complete :) Thanks!