iLLD_TC29x
1.0
|
The Scu Clock control unit driver provides a default configuration for pll and Clock initialisation and set of peripheral clock configuration functions.
In the following sections it will be described, how to integrate the driver into the application framework.
Include following header file into your C code:
Declare the Clock Configuration variables in your C code:
The module initialisation can be done in the same function. Here an example:
The PLL and clocks are now initialised based on the IFXSCU_CFG_XTAL_FREQ and IFXSCU_CFG_PLL_FREQ values configured in Ifx_Cfg.h.