iLLD_TC27xD  1.0
Collaboration diagram for Timer StdIf Functions:

Functions

IFX_EXTERN boolean IfxCcu6_TimerWithTrigger_acknowledgeTimerIrq (IfxCcu6_TimerWithTrigger *driver)
 Returns the timer event. More...
 
IFX_EXTERN boolean IfxCcu6_TimerWithTrigger_acknowledgeTriggerIrq (IfxCcu6_TimerWithTrigger *driver)
 Returns the trigger event. More...
 
IFX_EXTERN void IfxCcu6_TimerWithTrigger_applyUpdate (IfxCcu6_TimerWithTrigger *driver)
 Enable the transfer of the shadow registers. More...
 
IFX_EXTERN void IfxCcu6_TimerWithTrigger_disableUpdate (IfxCcu6_TimerWithTrigger *driver)
 Disables the upadte
This function is has an empty body as the updated is disabled automatically after the shadow transfer. More...
 
IFX_EXTERN float32 IfxCcu6_TimerWithTrigger_getFrequency (IfxCcu6_TimerWithTrigger *driver)
 Returns the frequency. More...
 
IFX_EXTERN float32 IfxCcu6_TimerWithTrigger_getInputFrequency (IfxCcu6_TimerWithTrigger *driver)
 Returns the Input frequncy. More...
 
IFX_EXTERN Ifx_TimerValue IfxCcu6_TimerWithTrigger_getPeriod (IfxCcu6_TimerWithTrigger *driver)
 Returns the period of the timer. More...
 
IFX_EXTERN float32 IfxCcu6_TimerWithTrigger_getResolution (IfxCcu6_TimerWithTrigger *driver)
 Returns the resolution. More...
 
IFX_EXTERN void IfxCcu6_TimerWithTrigger_run (IfxCcu6_TimerWithTrigger *driver)
 Runs the timer. More...
 
IFX_EXTERN boolean IfxCcu6_TimerWithTrigger_setFrequency (IfxCcu6_TimerWithTrigger *driver, float32 frequency)
 Sets the frequency. More...
 
IFX_EXTERN boolean IfxCcu6_TimerWithTrigger_setPeriod (IfxCcu6_TimerWithTrigger *driver, Ifx_TimerValue period)
 Sets the period for the timer. More...
 
IFX_EXTERN void IfxCcu6_TimerWithTrigger_setSingleMode (IfxCcu6_TimerWithTrigger *driver, boolean enabled)
 Sets the single shot mode of the timer. More...
 
IFX_EXTERN void IfxCcu6_TimerWithTrigger_setTrigger (IfxCcu6_TimerWithTrigger *driver, Ifx_TimerValue triggerPoint)
 Sets the trigger. More...
 
IFX_EXTERN boolean IfxCcu6_TimerWithTrigger_stdIfTimerInit (IfxStdIf_Timer *stdif, IfxCcu6_TimerWithTrigger *driver)
 Initializes the standard interface timer. More...
 
IFX_EXTERN void IfxCcu6_TimerWithTrigger_stop (IfxCcu6_TimerWithTrigger *driver)
 Stops the timer. More...
 
IFX_EXTERN void IfxCcu6_TimerWithTrigger_updateInputFrequency (IfxCcu6_TimerWithTrigger *driver)
 Updates the input frequency. More...
 

Detailed Description

Function Documentation

IFX_EXTERN boolean IfxCcu6_TimerWithTrigger_acknowledgeTimerIrq ( IfxCcu6_TimerWithTrigger driver)

Returns the timer event.

Parameters
driverCCU6 Timer interface Handle
Returns
Timer event
See Also
IfxStdIf_Timer_AckTimerIrq

Definition at line 38 of file IfxCcu6_TimerWithTrigger.c.

Referenced by IfxCcu6_TimerWithTrigger_stdIfTimerInit().

IFX_EXTERN boolean IfxCcu6_TimerWithTrigger_acknowledgeTriggerIrq ( IfxCcu6_TimerWithTrigger driver)

Returns the trigger event.

Parameters
driverCCU6 Timer interface Handle
Returns
Timer event
See Also
IfxStdIf_Timer_AckTriggerIrq

Definition at line 54 of file IfxCcu6_TimerWithTrigger.c.

Referenced by IfxCcu6_TimerWithTrigger_stdIfTimerInit().

IFX_EXTERN void IfxCcu6_TimerWithTrigger_applyUpdate ( IfxCcu6_TimerWithTrigger driver)

Enable the transfer of the shadow registers.

Parameters
driverCCU6 Timer interface Handle
Returns
None
See Also
IfxStdIf_Timer_ApplyUpdate

Definition at line 70 of file IfxCcu6_TimerWithTrigger.c.

Referenced by IfxCcu6_PwmHl_init(), IfxCcu6_TimerWithTrigger_init(), and IfxCcu6_TimerWithTrigger_stdIfTimerInit().

IFX_EXTERN void IfxCcu6_TimerWithTrigger_disableUpdate ( IfxCcu6_TimerWithTrigger driver)

Disables the upadte
This function is has an empty body as the updated is disabled automatically after the shadow transfer.

Parameters
driverCCU6 Timer interface Handle
Returns
None
See Also
IfxStdIf_Timer_DisableUpdate

Definition at line 76 of file IfxCcu6_TimerWithTrigger.c.

Referenced by IfxCcu6_TimerWithTrigger_stdIfTimerInit().

IFX_EXTERN float32 IfxCcu6_TimerWithTrigger_getFrequency ( IfxCcu6_TimerWithTrigger driver)

Returns the frequency.

Parameters
driverCCU6 Timer interface Handle
Returns
Frequency
See Also
IfxStdIf_Timer_GetFrequency

Definition at line 79 of file IfxCcu6_TimerWithTrigger.c.

Referenced by IfxCcu6_TimerWithTrigger_stdIfTimerInit().

IFX_EXTERN float32 IfxCcu6_TimerWithTrigger_getInputFrequency ( IfxCcu6_TimerWithTrigger driver)

Returns the Input frequncy.

Parameters
driverCCU6 Timer interface Handle
Returns
Frequency
See Also
IfxStdIf_Timer_GetInputFrequency

Definition at line 85 of file IfxCcu6_TimerWithTrigger.c.

Referenced by IfxCcu6_TimerWithTrigger_stdIfTimerInit().

IFX_EXTERN Ifx_TimerValue IfxCcu6_TimerWithTrigger_getPeriod ( IfxCcu6_TimerWithTrigger driver)

Returns the period of the timer.

Parameters
driverCCU6 Timer interface Handle
Returns
Period
See Also
IfxStdIf_Timer_GetPeriod

Definition at line 91 of file IfxCcu6_TimerWithTrigger.c.

Referenced by IfxCcu6_TimerWithTrigger_stdIfTimerInit().

IFX_EXTERN float32 IfxCcu6_TimerWithTrigger_getResolution ( IfxCcu6_TimerWithTrigger driver)

Returns the resolution.

Parameters
driverCCU6 Timer interface Handle
Returns
Resolution
See Also
IfxStdIf_Timer_GetResolution

Definition at line 103 of file IfxCcu6_TimerWithTrigger.c.

Referenced by IfxCcu6_TimerWithTrigger_stdIfTimerInit().

IFX_EXTERN void IfxCcu6_TimerWithTrigger_run ( IfxCcu6_TimerWithTrigger driver)

Runs the timer.

Parameters
driverCCU6 Timer interface Handle
Returns
None
See Also
IfxStdIf_Timer_Run

Definition at line 272 of file IfxCcu6_TimerWithTrigger.c.

Referenced by IfxCcu6_TimerWithTrigger_stdIfTimerInit().

IFX_EXTERN boolean IfxCcu6_TimerWithTrigger_setFrequency ( IfxCcu6_TimerWithTrigger driver,
float32  frequency 
)

Sets the frequency.

Parameters
driverCCU6 Timer interface Handle
frequencyFrequency
Returns
TRUE on success else FALSE
See Also
IfxStdIf_Timer_SetFrequency

Definition at line 278 of file IfxCcu6_TimerWithTrigger.c.

Referenced by IfxCcu6_TimerWithTrigger_init(), and IfxCcu6_TimerWithTrigger_stdIfTimerInit().

IFX_EXTERN boolean IfxCcu6_TimerWithTrigger_setPeriod ( IfxCcu6_TimerWithTrigger driver,
Ifx_TimerValue  period 
)

Sets the period for the timer.

Parameters
driverCCU6 Timer interface Handle
periodPeriod value
Returns
TRUE on success else FALSE
See Also
IfxStdIf_Timer_SetPeriod

Definition at line 286 of file IfxCcu6_TimerWithTrigger.c.

Referenced by IfxCcu6_TimerWithTrigger_setFrequency(), and IfxCcu6_TimerWithTrigger_stdIfTimerInit().

IFX_EXTERN void IfxCcu6_TimerWithTrigger_setSingleMode ( IfxCcu6_TimerWithTrigger driver,
boolean  enabled 
)

Sets the single shot mode of the timer.

Parameters
driverCCU6 Timer interface Handle
enabledIf TRUE, sets the single shot mode
Returns
None
See Also
IfxStdIf_Timer_SetSingleMode

Definition at line 296 of file IfxCcu6_TimerWithTrigger.c.

Referenced by IfxCcu6_TimerWithTrigger_stdIfTimerInit().

IFX_EXTERN void IfxCcu6_TimerWithTrigger_setTrigger ( IfxCcu6_TimerWithTrigger driver,
Ifx_TimerValue  triggerPoint 
)

Sets the trigger.

Parameters
driverCCU6 Timer interface Handle
triggerPointTrigger point value
Returns
None
See Also
IfxStdIf_Timer_SetTrigger

Definition at line 309 of file IfxCcu6_TimerWithTrigger.c.

Referenced by IfxCcu6_TimerWithTrigger_init(), and IfxCcu6_TimerWithTrigger_stdIfTimerInit().

IFX_EXTERN boolean IfxCcu6_TimerWithTrigger_stdIfTimerInit ( IfxStdIf_Timer stdif,
IfxCcu6_TimerWithTrigger driver 
)

Initializes the standard interface timer.

Parameters
stdifStandard interface object, will be initialized by the function
driverCCU6 Timer interface Handle
Returns
TRUE on success else FALSE

Definition at line 315 of file IfxCcu6_TimerWithTrigger.c.

Referenced by IfxCcu6_PwmHl_stdIfPwmHlInit().

IFX_EXTERN void IfxCcu6_TimerWithTrigger_stop ( IfxCcu6_TimerWithTrigger driver)

Stops the timer.

Parameters
driverCCU6 Timer interface Handle
Returns
None
See Also
IfxStdIf_Timer_Stop

Definition at line 344 of file IfxCcu6_TimerWithTrigger.c.

Referenced by IfxCcu6_TimerWithTrigger_stdIfTimerInit().

IFX_EXTERN void IfxCcu6_TimerWithTrigger_updateInputFrequency ( IfxCcu6_TimerWithTrigger driver)

Updates the input frequency.

Parameters
driverCCU6 Timer interface Handle
Returns
None
See Also
IfxStdIf_Timer_UpdateInputFrequency

Definition at line 350 of file IfxCcu6_TimerWithTrigger.c.

Referenced by IfxCcu6_TimerWithTrigger_init(), and IfxCcu6_TimerWithTrigger_stdIfTimerInit().