Generating code

3. Timer configuration

In this step, you configure the timer.

Double-click the [Timer] from [Code Generator (Design Tool)] in the Project Tree. This opens the panel for the timer.

Select the [General Setting] tab, and set the Channel0 to [Interval timer] .

Select the [Channel 0] tab and make settings as shown below.