Real-Time Workshop User's Guide | ![]() ![]() |
Custom Code Library
The Custom Code library contains blocks that allow you to place your own code, in C or in Ada, inside the code generated by the Real-Time Workshop.
Figure 14-1 illustrates the hierarchy of sublibraries under the Real-Time Workshop library. First, the Custom Code library has two sublibraries:
Both the C Custom Code and Ada Custom Code libraries, in turn, have identically named sublibraries:
Both sublibraries contain blocks that target specific files and subsystems within which you can place your code.
The following sections discuss the Model Code and Subsystem Code sublibraries of the C Custom Code library.
![]() | Custom Code Blocks | Model Code Sublibrary | ![]() |