Everything

Generating code

In this section, you configure the peripheral functions built in the microcontroller you are going to use. Using the code generation tool, a program can be automatically generated just by performing GUI operations such as selecting functions or entering numerical values.

 

1.  Clock generator

 

In this step, you configure the functions of the System such as setting the clock.

 

Double-click the [Code Generator (Design Tool)] > [Peripheral Functions] > [Clock Generator] in the Project Tree. This opens the panel for the clock generator.

configure as shown below.