iLLD_TC27xD  1.0
Collaboration diagram for Timer Functions:

Functions

IFX_EXTERN volatile uint32IfxCcu6_TimerWithTrigger_getPointer (IfxCcu6_TimerWithTrigger *driver)
 Returns the pointer to timer channel. More...
 
IFX_EXTERN boolean IfxCcu6_TimerWithTrigger_init (IfxCcu6_TimerWithTrigger *driver, IfxCcu6_TimerWithTrigger_Config *config)
 Initialises the timer object
T12 is configured as timer, T13 is optionally configured as trigger
T12CLK, T12PRE and T12PR are chosen to achieve maximum PWM resolution
Note: To achieve maximum PWM resolution, the requested T12 frequency should be the
lowest PWM frequency.
. More...
 
IFX_EXTERN void IfxCcu6_TimerWithTrigger_initConfig (IfxCcu6_TimerWithTrigger_Config *config, Ifx_CCU6 *ccu6)
 Initializes the configuration structure to default. More...
 

Detailed Description

Function Documentation

IFX_EXTERN volatile uint32* IfxCcu6_TimerWithTrigger_getPointer ( IfxCcu6_TimerWithTrigger driver)

Returns the pointer to timer channel.

Parameters
driverCCU6 Timer interface Handle
Returns
Pointer
See Also
IfxStdIf_Timer_DisableUpdate

Definition at line 97 of file IfxCcu6_TimerWithTrigger.c.

IFX_EXTERN boolean IfxCcu6_TimerWithTrigger_init ( IfxCcu6_TimerWithTrigger driver,
IfxCcu6_TimerWithTrigger_Config config 
)

Initialises the timer object
T12 is configured as timer, T13 is optionally configured as trigger
T12CLK, T12PRE and T12PR are chosen to achieve maximum PWM resolution
Note: To achieve maximum PWM resolution, the requested T12 frequency should be the
lowest PWM frequency.
.

Parameters
driverCCU6 Timer interface Handle
configConfiguration structure for Timer
Returns
TRUE on success else FALSE
Return values
IfxCcu6_Stat_wrongPwmFreqif the T12 prescaler can't fulfill the required frequency
  • The T13 is used to generate additional PWM for internal trigger purpose (e.g. ADC) or external trigger purpose (e.g. sensor synchronisation).

Definition at line 109 of file IfxCcu6_TimerWithTrigger.c.

IFX_EXTERN void IfxCcu6_TimerWithTrigger_initConfig ( IfxCcu6_TimerWithTrigger_Config config,
Ifx_CCU6 *  ccu6 
)

Initializes the configuration structure to default.

Parameters
configConfiguration structure for Timer
ccu6Pointer to CCU6 module
Returns
None

Definition at line 262 of file IfxCcu6_TimerWithTrigger.c.