Adding STM Code Modules : Sample Code Module

Sample Code Module

The code samples show what the code looks like when you perform the following tasks:

Generate code with Module Procedures Only selected. Refer to example.c.
Include the main in your code. Refer to my_main.c for more information.

The Statechart in the following figure describes the sample module.