iLLD_TC29x
1.0
|
STM basic functionality. More...
Go to the source code of this file.
Data Structures | |
struct | IfxStm_CompareConfig |
Comparator Configuration Structure. More... | |
Functions | |
IFX_INLINE uint64 | IfxStm_get (Ifx_STM *stm) |
Returns system timer value. More... | |
IFX_INLINE float32 | IfxStm_getFrequency (Ifx_STM *stm) |
Returns the system timer frequency. More... | |
IFX_EXTERN void | IfxStm_enableOcdsSuspend (Ifx_STM *stm) |
enable suspend by debugger. More... | |
IFX_EXTERN IfxStm_ResourceStm | IfxStm_getIndex (Ifx_STM *stm) |
API to get the resource index of the STM specified. More... | |
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... | |
IFX_INLINE uint32 | IfxStm_getCompare (Ifx_STM *stm, IfxStm_Comparator comparator) |
Returns the updated compare register value. More... | |
IFX_INLINE sint32 | IfxStm_getTicksFromMicroseconds (Ifx_STM *stm, uint32 microSeconds) |
Returns the number of ticks for the selected micro seconds based on the STM frequency. More... | |
IFX_INLINE sint32 | IfxStm_getTicksFromMilliseconds (Ifx_STM *stm, uint32 milliSeconds) |
Returns the number of ticks for the selected milli seconds based on the STM frequency. More... | |
IFX_INLINE void | IfxStm_increaseCompare (Ifx_STM *stm, IfxStm_Comparator comparator, uint32 ticks) |
Update the compare register value increased with given ticks. More... | |
IFX_INLINE void | IfxStm_updateCompare (Ifx_STM *stm, IfxStm_Comparator comparator, uint32 ticks) |
Update the compare register value. More... | |
IFX_EXTERN void | IfxStm_clearCompareFlag (Ifx_STM *stm, IfxStm_Comparator comparator) |
Clear the compare interrupt flag. More... | |
IFX_EXTERN boolean | IfxStm_initCompare (Ifx_STM *stm, const IfxStm_CompareConfig *config) |
Initialise stm compare register. More... | |
IFX_EXTERN void | IfxStm_initCompareConfig (IfxStm_CompareConfig *config) |
Initialise compare configuration with default values. More... | |
IFX_EXTERN void | IfxStm_enableComparatorInterrupt (Ifx_STM *stm, IfxStm_Comparator comparator) |
Enables the compare interrupt . More... | |
IFX_INLINE void | IfxStm_setSleepMode (Ifx_STM *stm, IfxStm_SleepMode mode) |
IFX_EXTERN void | IfxStm_resetModule (Ifx_STM *stm) |
STM basic functionality.
IMPORTANT NOTICE
Infineon Technologies AG (Infineon) is supplying this file for use exclusively with Infineon's microcontroller products. This file can be freely distributed within development tools that are supporting such microcontroller products.
THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. INFINEON SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
Definition in file IfxStm.h.
IFX_EXTERN void IfxStm_resetModule | ( | Ifx_STM * | stm) |
IFX_INLINE void IfxStm_setSleepMode | ( | Ifx_STM * | stm, |
IfxStm_SleepMode | mode | ||
) |