Slide 1 Slide 2 Slide 3 Slide 4 Slide 5 Slide 6 Slide 7 Slide 8 Slide 9 Slide 10 Slide 11 Slide 12 Slide 13 Slide 14 Slide 15 Slide 16 Product List
Example of use-Slide13

Once the wizard has finished, a new folder containing several files and named “Clock” has been added to the services folder of the project. Also notice that a new header file named “conf_clock.h” has been added to the config folder. The first thing to do with a new module is to initialize it. Start typing the letters s-y-s and the visual assist editor will provide a short list of alternatives, including the ”sysclk_init()” function, the one to call from the main function. “SysClock” is a very powerful service for controlling the clocks of the microcontroller. Once the user masters it, it will have a great impact on the power consumption of their board. Therefore studying the user manual for this service, and learning how to use it effectively is highly recommended.

PTM Published on: 2012-11-17