iLLD_TC27xD  1.0
Clock Control Configuration Functions
Collaboration diagram for Clock Control Configuration Functions:

Functions

IFX_EXTERN boolean IfxScuCcu_calculateSysPllDividers (IfxScuCcu_Config *cfg, uint32 fPll)
 The api calculates the system PLL divider values P, N, K based on given xtal frequency and PLL frequency. More...
 
IFX_EXTERN boolean IfxScuCcu_init (const IfxScuCcu_Config *cfg)
 API to initialize the SCU Clock Control Unit. This API initialize the PLL with ramp steps, BUS dividers for the configuration provided by the configuration structure. More...
 
IFX_EXTERN void IfxScuCcu_initConfig (IfxScuCcu_Config *cfg)
 Initializes the clock configuration with default values. More...
 
IFX_EXTERN boolean IfxScuCcu_initErayPll (const IfxScuCcu_ErayPllConfig *cfg)
 API to initialize the SCU Eray Pll This API initialize the Eray PLL for the configuration provided by the configuration structure. More...
 
IFX_EXTERN void IfxScuCcu_initErayPllConfig (IfxScuCcu_ErayPllConfig *cfg)
 Initializes the clock configuration with default values. More...
 
IFX_EXTERN void IfxScuCcu_switchToBackupClock (const IfxScuCcu_Config *cfg)
 API to switch to Backup clock from the current PLL frequency. More...
 

Detailed Description

Function Documentation

IFX_EXTERN boolean IfxScuCcu_calculateSysPllDividers ( IfxScuCcu_Config cfg,
uint32  fPll 
)

The api calculates the system PLL divider values P, N, K based on given xtal frequency and PLL frequency.

Parameters
cfgPointer to the configuration structure of the ScuCcu
fPllDesired PLL frequency.
Returns
0- Success, 1 - Failure

Definition at line 93 of file IfxScuCcu.c.

IFX_EXTERN boolean IfxScuCcu_init ( const IfxScuCcu_Config cfg)

API to initialize the SCU Clock Control Unit. This API initialize the PLL with ramp steps, BUS dividers for the configuration provided by the configuration structure.

Parameters
cfgPointer to the configuration structure of the ScuCcu
Returns
Error status of the ScuCcu initialization process.
Return values
TRUE,:If an error occurred during initialization.
FALSE,:If initialization was successful.

Definition at line 641 of file IfxScuCcu.c.

IFX_EXTERN void IfxScuCcu_initConfig ( IfxScuCcu_Config cfg)

Initializes the clock configuration with default values.

Parameters
cfgPointer to the configuration structure of the ScuCcu
Returns
None

Definition at line 903 of file IfxScuCcu.c.

IFX_EXTERN boolean IfxScuCcu_initErayPll ( const IfxScuCcu_ErayPllConfig cfg)

API to initialize the SCU Eray Pll This API initialize the Eray PLL for the configuration provided by the configuration structure.

Parameters
cfgPointer to the configuration structure of the Eray Pll
Returns
Error status of the ScuCcu Eray Pll initialization process.
Return values
TRUE,:If an error occurred during initialization.
FALSE,:If initialization was successful.

Definition at line 909 of file IfxScuCcu.c.

IFX_EXTERN void IfxScuCcu_initErayPllConfig ( IfxScuCcu_ErayPllConfig cfg)

Initializes the clock configuration with default values.

Parameters
cfgPointer to the configuration structure of the ScuCcuEray Pll
Returns
None

Definition at line 1008 of file IfxScuCcu.c.

IFX_EXTERN void IfxScuCcu_switchToBackupClock ( const IfxScuCcu_Config cfg)

API to switch to Backup clock from the current PLL frequency.

Parameters
cfgPointer to the configuration structure of the ScuCcu
Returns
None

Definition at line 1244 of file IfxScuCcu.c.