6 years, 6 months ago.

Driver just gives a way of polling

Driver just gives a way of polling. The demo in Mbed OS documents is very simple. Take SPISlave for an example. https://os.mbed.com/docs/mbed-os/v5.11/apis/spislave.html. The function interfaces in SPISlave seem that they only give the way of polling which may have a low efficiency in transmitting data. If we can provide more efficient ways such as DMA or interruption in demos and interface? The same problem also applies for Class Analogin in which the demo just gives a simple way of polling. https://os.mbed.com/docs/mbed-os/v5.11/apis/analogin.html

Be the first to answer this question.