MicroC Code Generator : Code Options : Generating Code with Extended Documentation

Generating Code with Extended Documentation

In the setting dialog, selecting General > Generate extensive code documentation generates extensively documented code. The code includes extensive comments on each generated function and control expression in the following places:

Activity function body, Statechart/Flowchart implementation function, Transition to a state, State static reaction, Data declaration, Generated files headers and footers.

Information of the code-generation profile name, date, version, workarea and project name

For Statecharts: Before the implementation function, a textual transition table is added.

For Truth-Tables: A textual description of the table is added.

For Timeout setting: The expression triggering the code is in comments.