Calling the generated code from a user application

You supply the operating environment and call Embed-generated code as a task using the Call from Foreign RTOS/User App parameter in the Code Generation dialog. This assumes that you are managing timers and interrupts and will call the Embed function at the designed control interrupt rate. You can include the generated C file in a Code Composer project.