iLLD_TC27xD  1.0
Collaboration diagram for Timer Functions:

Functions

IFX_EXTERN void IfxGtm_Atom_Timer_addToChannelMask (IfxGtm_Atom_Timer *driver, uint16 mask)
 Add a channel to the channel mask Channels present in the mask are started, stopped, updated at the same time as the timer: IfxGtm_Atom_Timer_applyUpdate, IfxGtm_Atom_Timer_disableUpdate, IfxGtm_Atom_Timer_stop, IfxGtm_Atom_Timer_run. More...
 
IFX_EXTERN Ifx_TimerValue IfxGtm_Atom_Timer_getOffset (IfxGtm_Atom_Timer *driver)
 Returns the initial timer offset in ticks. More...
 
IFX_EXTERN volatile uint32IfxGtm_Atom_Timer_getPointer (IfxGtm_Atom_Timer *driver)
 Returns the pointer to timer channel. More...
 
IFX_EXTERN volatile uint32IfxGtm_Atom_Timer_getTriggerPointer (IfxGtm_Atom_Timer *driver)
 Returns the pointer to trigger channel. More...
 
IFX_EXTERN boolean IfxGtm_Atom_Timer_init (IfxGtm_Atom_Timer *driver, const IfxGtm_Atom_Timer_Config *config)
 Initialises the timer object. More...
 
IFX_EXTERN void IfxGtm_Atom_Timer_initConfig (IfxGtm_Atom_Timer_Config *config, Ifx_GTM *gtm)
 Initializes the configuration structure to default. More...
 

Detailed Description

Function Documentation

IFX_EXTERN void IfxGtm_Atom_Timer_addToChannelMask ( IfxGtm_Atom_Timer driver,
uint16  mask 
)

Add a channel to the channel mask Channels present in the mask are started, stopped, updated at the same time as the timer: IfxGtm_Atom_Timer_applyUpdate, IfxGtm_Atom_Timer_disableUpdate, IfxGtm_Atom_Timer_stop, IfxGtm_Atom_Timer_run.

Parameters
driverATOM Timer interface Handle
maskMask value
Returns
None

Definition at line 70 of file IfxGtm_Atom_Timer.c.

Referenced by IfxGtm_Atom_PwmHl_init().

IFX_EXTERN Ifx_TimerValue IfxGtm_Atom_Timer_getOffset ( IfxGtm_Atom_Timer driver)

Returns the initial timer offset in ticks.

See Also
IfxStdIf_Timer_GetOffset
Parameters
driverATOM Timer interface Handle
Returns
Returns the initial timer offset in ticks

Definition at line 100 of file IfxGtm_Atom_Timer.c.

IFX_EXTERN volatile uint32* IfxGtm_Atom_Timer_getPointer ( IfxGtm_Atom_Timer driver)

Returns the pointer to timer channel.

Parameters
driverATOM Timer interface Handle
Returns
Pointer

Definition at line 112 of file IfxGtm_Atom_Timer.c.

IFX_EXTERN volatile uint32* IfxGtm_Atom_Timer_getTriggerPointer ( IfxGtm_Atom_Timer driver)

Returns the pointer to trigger channel.

Parameters
driverATOM Timer interface Handle
Returns
Pointer

Definition at line 130 of file IfxGtm_Atom_Timer.c.

IFX_EXTERN boolean IfxGtm_Atom_Timer_init ( IfxGtm_Atom_Timer driver,
const IfxGtm_Atom_Timer_Config config 
)

Initialises the timer object.

Parameters
driverATOM Timer interface Handle
configConfiguration structure for ATOM Timer
Returns
TRUE on success else FALSE

Definition at line 136 of file IfxGtm_Atom_Timer.c.

IFX_EXTERN void IfxGtm_Atom_Timer_initConfig ( IfxGtm_Atom_Timer_Config config,
Ifx_GTM *  gtm 
)

Initializes the configuration structure to default.

Parameters
configConfiguration structure for ATOM Timer
gtmPointer to GTM module
Returns
None

Definition at line 269 of file IfxGtm_Atom_Timer.c.