iLLD_TC27xD  1.0
IfxGtm_Atom_Timer.c File Reference

GTM TIMER details. More...

#include "IfxGtm_Atom_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_Atom_Timer_acknowledgeTimerIrq (IfxGtm_Atom_Timer *driver)
 Returns the timer event. More...
 
boolean IfxGtm_Atom_Timer_acknowledgeTriggerIrq (IfxGtm_Atom_Timer *driver)
 Returns the trigger event. More...
 
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...
 
void IfxGtm_Atom_Timer_applyUpdate (IfxGtm_Atom_Timer *driver)
 Enables the transfer of the shadow registers. More...
 
void IfxGtm_Atom_Timer_disableUpdate (IfxGtm_Atom_Timer *driver)
 Disables the upadte. More...
 
float32 IfxGtm_Atom_Timer_getFrequency (IfxGtm_Atom_Timer *driver)
 Returns the frequency. More...
 
float32 IfxGtm_Atom_Timer_getInputFrequency (IfxGtm_Atom_Timer *driver)
 Returns the Input frequncy. More...
 
Ifx_TimerValue IfxGtm_Atom_Timer_getOffset (IfxGtm_Atom_Timer *driver)
 Returns the initial timer offset in ticks. More...
 
Ifx_TimerValue IfxGtm_Atom_Timer_getPeriod (IfxGtm_Atom_Timer *driver)
 Returns the period of the timer. More...
 
volatile uint32IfxGtm_Atom_Timer_getPointer (IfxGtm_Atom_Timer *driver)
 Returns the pointer to timer channel. More...
 
float32 IfxGtm_Atom_Timer_getResolution (IfxGtm_Atom_Timer *driver)
 Returns the resolution. More...
 
Ifx_TimerValue IfxGtm_Atom_Timer_getTrigger (IfxGtm_Atom_Timer *driver)
 Returns the trigger point. More...
 
volatile uint32IfxGtm_Atom_Timer_getTriggerPointer (IfxGtm_Atom_Timer *driver)
 Returns the pointer to trigger channel. More...
 
boolean IfxGtm_Atom_Timer_init (IfxGtm_Atom_Timer *driver, const IfxGtm_Atom_Timer_Config *config)
 Initialises the timer object. More...
 
void IfxGtm_Atom_Timer_initConfig (IfxGtm_Atom_Timer_Config *config, Ifx_GTM *gtm)
 Initializes the configuration structure to default. More...
 
void IfxGtm_Atom_Timer_run (IfxGtm_Atom_Timer *driver)
 Runs the timer. More...
 
boolean IfxGtm_Atom_Timer_setFrequency (IfxGtm_Atom_Timer *driver, float32 frequency)
 Sets the frequency. More...
 
boolean IfxGtm_Atom_Timer_setPeriod (IfxGtm_Atom_Timer *driver, Ifx_TimerValue period)
 Sets the period for the timer. More...
 
void IfxGtm_Atom_Timer_setSingleMode (IfxGtm_Atom_Timer *driver, boolean enabled)
 Sets the single shot mode of the timer. More...
 
boolean IfxGtm_Atom_Timer_setTrigger (IfxGtm_Atom_Timer *driver, Ifx_TimerValue triggerPoint)
 Sets the trigger. More...
 
boolean IfxGtm_Atom_Timer_stdIfTimerInit (IfxStdIf_Timer *stdif, IfxGtm_Atom_Timer *driver)
 Initializes the standard interface timer. More...
 
void IfxGtm_Atom_Timer_stop (IfxGtm_Atom_Timer *driver)
 Stops the timer. More...
 
void IfxGtm_Atom_Timer_updateInputFrequency (IfxGtm_Atom_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_Atom_Timer.c.