iLLD_TC27xC  1.0
Module Initialize Functions
Collaboration diagram for Module Initialize Functions:

Functions

IFX_EXTERN void IfxCcu6_Icu_initModule (IfxCcu6_Icu *icu, const IfxCcu6_Icu_Config *config)
 Initialises the module with default configuration. More...
 
IFX_EXTERN void IfxCcu6_Icu_initModuleConfig (IfxCcu6_Icu_Config *config, Ifx_CCU6 *ccu6)
 Fills the config structure with default values. More...
 

Detailed Description

Function Documentation

IFX_EXTERN void IfxCcu6_Icu_initModule ( IfxCcu6_Icu icu,
const IfxCcu6_Icu_Config config 
)

Initialises the module with default configuration.

Parameters
icuModule handle
configConfiguration structure of the module
Returns
None
// create configuration
IfxCcu6_Icu_initModuleConfig(&icuConfig, &MODULE_CCU60);
// configure the frequency of the timer 12 in case of internal start
icuConfig.frequency = 400000;
// configure the period of the timer 12
icuConfig.period = 100;
// configure the clock for internal mode
// configure count operation
icuConfig.counterValue = 0;
// initialize the module
IfxCcu6_Icu_initModule(&icu, &icuConfig);

Definition at line 164 of file IfxCcu6_Icu.c.

IFX_EXTERN void IfxCcu6_Icu_initModuleConfig ( IfxCcu6_Icu_Config config,
Ifx_CCU6 *  ccu6 
)

Fills the config structure with default values.

Parameters
configConfiguration structure of the module
ccu6Pointer to the base of CCU6 registers
Returns
None

A coding example can be found in IfxCcu6_Icu_initModule

Definition at line 224 of file IfxCcu6_Icu.c.