
3.2 Example of library handling code
The library-handling code and the example aplication are separate from the library file. The example source files and other SDK
examples are at this path:
boards/<your board>/demo_apps/safety_iec60730b/
The safety example code is shown in
Figure 4. Example of project structure in example folder
This folder contains the example source file and three folders for the IDE project file:
•
iar
•
mcux
•
mdk
The following files are generated by the MCUXpresso configuration tool:
•
clock_config.h
•
clock_config.c
•
pin_mux.c
•
pin_mux.h
Other files are used only for safety examples and their contents are described in the next chapter.
Example of library handling code
i.MX8M Safety Example , Rev. 3, 07/2021
NXP Semiconductors
8