2.1 Overview

The Code Generator outputs source code (device driver programs) based on information selected/entered on CS+ panels that is needed to control the peripheral functions (clock generator, port functions, etc.) provided by the device.

The following sections describe the operation procedures for Code Generator.

(1)

Start CS+

Launch CS+ from the [Start] menu of Windows.

(2)

Create/Open project

Create a new project (that defines a kind of project, microcontroller to be used, build tools to be used, etc.) or load an existing project.

Open the Peripheral Functions panel used to configure the information necessary to control the peripheral functions (clock generator, port functions, etc.).

Configure the information necessary to control the peripheral functions (clock generator, port functions, etc.) in the Peripheral Functions panel.

Confirm the source code (device driver program) that reflects the information configured in the Peripheral Functions panel.

Output the source code (device driver program) to the specified folder.

Output report files (a file containing information configured using Code Generator and a file containing information regarding the source code) to the specified folder.

(8)

Save project

Save a project.