[Code Generator Setting] tab


This tab allows you to view the information (Generate File Mode and Product Information) on and change the setting for the [Code Generator (Design Tool)] selected in the Project Tree panel.

Figure A.4

[Code Generator Setting] Tab

 

The following items are explained here.

[How to open]

-

On the Project Tree panel, select [Project name (Project)] >> [Code Generator (Design Tool)], and then select [Property] from the [View] menu.

-

On the Project Tree panel, select [Project name (Project)] >> [Code Generator (Design Tool)], and then select [Property] from the context menu.

Remark

If this panel is already open, selecting a different [Code Generator (Design Tool)] in the Project Tree panel changes the content displayed accordingly.

[Description of each area]

(1)

[Generate File Mode] category

This area allows you to view the information (API output control, Output folder, File generation control, Register files and Report type) on and change the setting for the [Code Generator (Design Tool)] selected in the Project Tree panel.

API output control

Select the type of API functions to be output.

Output all API functions according to the setting

All API functions for the peripheral functions (clock generation circuit, voltage detection circuit, etc.) that is set for use in the Peripheral Functions panel are output.

Output only initialization API function

Of the API functions for the peripheral functions (clock generation circuit, voltage detection circuit, etc.) that are set for use in the Peripheral Functions panel, only those relating to initialization are output.

Output folder

Inputs the output destination folder.

File generation control

Click on this option to select the reaction to cases where a file having the same file name exists when the button of the Peripheral Functions panel is clicked.

Do nothing if file exists

If a file with the same name exists, a new file will not be output.

Merge file

If a file with the same name exists, a new file is merged with the existing file.

Only the section between "/* Start user code ... . Do not edit comment generated here */" and "/* End user code. Do not edit comment generated here */" will be merged.

Overwrite file

If a file with the same name exists, the existing file is overwritten by a new file.

Register files

Click on this option to select whether or not to register the output file in the project when the button of the Peripheral Functions panel is clicked.

Register the generated files to the project

Registers the file.

Not register the generated files to the project

Does not register the file.

Report type

Selects the output format for the report files (two files: Function and Macro) that are output when [Save Code Generator Report] is selected from the [File] menu.

HTML file

Outputs the files in the HTML format.

CSV file

Outputs the files in the CSV format.

Remark

Note that if the [Merge file] is selected in [File generate control], the number of left braces (“{”) and right braces (“}”) must match in the parts to be merged. When the numbers do not match, processing for correct merging is not possible.

(2)

[Product Information] category

This area allows you to view the information (Release Date and Version) for the [Code Generator (Design Tool)] selected in the Project Tree panel.

Release Date

Displays the release date of the Code Generator (Design Tool).

Version

Displays the version number of the Code Generator (Design Tool).