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.
5 years, 11 months ago.
What does "state" mean in the callback tutorial?
Ref: https://os.mbed.com/docs/v5.10/apis/platform.html#callbacks
My guess is that it can be the address of a data item including the address of a class. I wonder if "context" is a better word.
In the final example where the Callback class is used, the prototype for "attach" has one argument but the calls to it give two arguments. Please explain.
Now ref: https://os.mbed.com/docs/v5.10/apis/callback.html
What is an uninitialized callback? What is a "concrete type"? What is "lightweight".
Thanks for any enlightenment. I don't like to use features without knowing a little of what's going on underneath the surface.