iLLD_TC27xD  1.0
Timer Functions
Collaboration diagram for Timer Functions:

Functions

IFX_INLINE uint32 IfxStm_getLower (Ifx_STM *stm)
 Returns the lower system timer value. More...
 
IFX_INLINE uint32 IfxStm_getOffset12Timer (Ifx_STM *stm)
 Gets the TIM3 couter value. More...
 
IFX_INLINE uint32 IfxStm_getOffset16Timer (Ifx_STM *stm)
 Gets the TIM4 couter value. More...
 
IFX_INLINE uint32 IfxStm_getOffset20Timer (Ifx_STM *stm)
 Gets the TIM5 couter value. More...
 
IFX_INLINE uint32 IfxStm_getOffset32Timer (Ifx_STM *stm)
 Gets the TIM6 couter value. More...
 
IFX_INLINE uint32 IfxStm_getOffset4Timer (Ifx_STM *stm)
 Gets the TIM1 couter value. More...
 
IFX_INLINE uint32 IfxStm_getOffset8Timer (Ifx_STM *stm)
 Gets the TIM2 couter value. More...
 
IFX_INLINE uint32 IfxStm_getOffsetTimer (Ifx_STM *stm, uint8 offset)
 Returns the timer value shifted right by offset. More...
 
IFX_INLINE void IfxStm_waitTicks (Ifx_STM *stm, uint32 ticks)
 Wait for requested time. The macro waits in while loop for the specified time in system timer ticks. More...
 

Detailed Description

Function Documentation

IFX_INLINE uint32 IfxStm_getLower ( Ifx_STM *  stm)

Returns the lower system timer value.

Parameters
stmpointer to System timer module registers.
Returns
the lower system timer value.

Definition at line 485 of file IfxStm.h.

Referenced by IfxStm_waitTicks().

IFX_INLINE uint32 IfxStm_getOffset12Timer ( Ifx_STM *  stm)

Gets the TIM3 couter value.

Parameters
stmpointer to System timer module registers.
Returns
TIM3 counter value.

Definition at line 491 of file IfxStm.h.

IFX_INLINE uint32 IfxStm_getOffset16Timer ( Ifx_STM *  stm)

Gets the TIM4 couter value.

Parameters
stmpointer to System timer module registers.
Returns
TIM4 counter value.

Definition at line 497 of file IfxStm.h.

IFX_INLINE uint32 IfxStm_getOffset20Timer ( Ifx_STM *  stm)

Gets the TIM5 couter value.

Parameters
stmpointer to System timer module registers.
Returns
TIM5 counter value.

Definition at line 503 of file IfxStm.h.

IFX_INLINE uint32 IfxStm_getOffset32Timer ( Ifx_STM *  stm)

Gets the TIM6 couter value.

Parameters
stmpointer to System timer module registers.
Returns
TIM6 counter value.

Definition at line 509 of file IfxStm.h.

IFX_INLINE uint32 IfxStm_getOffset4Timer ( Ifx_STM *  stm)

Gets the TIM1 couter value.

Parameters
stmpointer to System timer module registers.
Returns
TIM1 counter value.

Definition at line 515 of file IfxStm.h.

IFX_INLINE uint32 IfxStm_getOffset8Timer ( Ifx_STM *  stm)

Gets the TIM2 couter value.

Parameters
stmpointer to System timer module registers.
Returns
TIM2 counter value.

Definition at line 521 of file IfxStm.h.

IFX_INLINE uint32 IfxStm_getOffsetTimer ( Ifx_STM *  stm,
uint8  offset 
)

Returns the timer value shifted right by offset.

Parameters
stmpointer to System timer module registers.
offsetoffset value.
Returns
the lower system timer value shifted by offset.

Definition at line 527 of file IfxStm.h.

Referenced by IfxStm_initCompare().

IFX_INLINE void IfxStm_waitTicks ( Ifx_STM *  stm,
uint32  ticks 
)

Wait for requested time. The macro waits in while loop for the specified time in system timer ticks.

Parameters
stmpointer to System timer module registers.
ticksticks Wait time in system timer ticks.
Returns
None

Definition at line 572 of file IfxStm.h.