Does anyone use CMSIS-Driver specification?

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

Parents Reply Children
No data
More questions in this forum
There are no posts to show. This could be because there are no posts in this forum or due to a filter.