iLLD_TC27xD  1.0
IfxGtm_Tom_Timer.c File Reference

GTM TIMER details. More...

#include "IfxGtm_Tom_Timer.h"
#include "_Utilities/Ifx_Assert.h"
#include "IfxGtm_bf.h"
#include "stddef.h"

Go to the source code of this file.

Functions

boolean IfxGtm_Tom_Timer_acknowledgeTimerIrq (IfxGtm_Tom_Timer *driver)
 Returns the timer event. More...
 
boolean IfxGtm_Tom_Timer_acknowledgeTriggerIrq (IfxGtm_Tom_Timer *driver)
 Returns the trigger event. More...
 
void IfxGtm_Tom_Timer_addToChannelMask (IfxGtm_Tom_Timer *driver, IfxGtm_Tom_Ch channel)
 Add a channel to the channel mask Channels present in the mask are started, stopped, updated at the same time as the timer: IfxGtm_Tom_Timer_applyUpdate, IfxGtm_Tom_Timer_disableUpdate, IfxGtm_Tom_Timer_stop, IfxGtm_Tom_Timer_run. More...
 
void IfxGtm_Tom_Timer_applyUpdate (IfxGtm_Tom_Timer *driver)
 Enables the transfer of the shadow registers. More...
 
void IfxGtm_Tom_Timer_disableUpdate (IfxGtm_Tom_Timer *driver)
 Disables the upadte. More...
 
float32 IfxGtm_Tom_Timer_getFrequency (IfxGtm_Tom_Timer *driver)
 Returns the frequency. More...
 
float32 IfxGtm_Tom_Timer_getInputFrequency (IfxGtm_Tom_Timer *driver)
 Returns the Input frequncy. More...
 
Ifx_TimerValue IfxGtm_Tom_Timer_getOffset (IfxGtm_Tom_Timer *driver)
 Returns the initial timer offset in ticks. More...
 
Ifx_TimerValue IfxGtm_Tom_Timer_getPeriod (IfxGtm_Tom_Timer *driver)
 Returns the period of the timer. More...
 
volatile uint32IfxGtm_Tom_Timer_getPointer (IfxGtm_Tom_Timer *driver)
 Returns the pointer to timer channel. More...
 
float32 IfxGtm_Tom_Timer_getResolution (IfxGtm_Tom_Timer *driver)
 Returns the resolution. More...
 
Ifx_TimerValue IfxGtm_Tom_Timer_getTrigger (IfxGtm_Tom_Timer *driver)
 Returns the trigger point. More...
 
volatile uint32IfxGtm_Tom_Timer_getTriggerPointer (IfxGtm_Tom_Timer *driver)
 Returns the pointer to trigger channel. More...
 
boolean IfxGtm_Tom_Timer_init (IfxGtm_Tom_Timer *driver, const IfxGtm_Tom_Timer_Config *config)
 Initialises the timer object. More...
 
void IfxGtm_Tom_Timer_initConfig (IfxGtm_Tom_Timer_Config *config, Ifx_GTM *gtm)
 Initializes the configuration structure to default. More...
 
void IfxGtm_Tom_Timer_run (IfxGtm_Tom_Timer *driver)
 Runs the timer. More...
 
boolean IfxGtm_Tom_Timer_setFrequency (IfxGtm_Tom_Timer *driver, float32 frequency)
 Sets the frequency. More...
 
boolean IfxGtm_Tom_Timer_setPeriod (IfxGtm_Tom_Timer *driver, Ifx_TimerValue period)
 Sets the period for the timer. More...
 
void IfxGtm_Tom_Timer_setSingleMode (IfxGtm_Tom_Timer *driver, boolean enabled)
 Sets the single shot mode of the timer. More...
 
boolean IfxGtm_Tom_Timer_setTrigger (IfxGtm_Tom_Timer *driver, Ifx_TimerValue triggerPoint)
 Sets the trigger. More...
 
boolean IfxGtm_Tom_Timer_stdIfTimerInit (IfxStdIf_Timer *stdif, IfxGtm_Tom_Timer *driver)
 Initializes the standard interface timer. More...
 
void IfxGtm_Tom_Timer_stop (IfxGtm_Tom_Timer *driver)
 Stops the timer. More...
 
void IfxGtm_Tom_Timer_updateInputFrequency (IfxGtm_Tom_Timer *driver)
 Updates the input frequency. More...
 

Detailed Description

GTM TIMER details.

Version
iLLD_1_0_0_11_0
                            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 IfxGtm_Tom_Timer.c.