-
Notifications
You must be signed in to change notification settings - Fork 1k
API
fprwi6labs edited this page Sep 20, 2017
·
62 revisions
This part describes the STM32 core functions.
CoreCallback functions allows to register a callback function called in the loop of the main() function.
If you need to call as often as possible a function to update your system and you want to be sure this function to be called, you can add it to the callback list. Otherwise, your function should be called inside the loop() function of
the sketch.
-
void registerCoreCallback(void (*func)(void)): register a callback function
Params func pointer to the callback function -
void unregisterCoreCallback(void (*func)(void)): unregister a callback function
Params func pointer to the callback function
-
Advanced usages