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.
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