Did you modify the table? (circle_API.c).
You need to replace the next two null vectors by your own functions.
On the principle, you can modify and add new functions to the CircleOS in order to improve it for your own application. Now, the other solution (without modifying the OS) would be to disable the MEMS handler, and to add yours... That's would be easier and you will keep the compatibility with any other application.