We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
In the CMSIS-Driver specification, all interface structs and functions are described as plain C.
arm-software.github.io/.../theoryOperation.html
But the function calls simply won't work in plain C, they must be C++ in order to receive the hidden "this" parameter.
Same with callbacks - they must receive reference to their "this" object.
So the question - does anybody actually implement drivers per this spec, if yes then how? C or C++?
Thanks,
--pa
Thanks Christopher and Bill