iLLD_TC27xD  1.0
IfxGtm_Cmu.c File Reference

GTM basic functionality. More...

#include "IfxGtm_Cmu.h"
#include "IfxGtm_Dpll.h"
#include "Scu/Std/IfxScuCcu.h"
#include "Scu/Std/IfxScuWdt.h"
#include "math.h"
#include "IfxGtm_bf.h"

Go to the source code of this file.

Functions

void IfxGtm_Cmu_enableClocks (Ifx_GTM *gtm, uint32 clkMask)
 Enable / Disable the configurable, fixed, and external clocks. More...
 
float32 IfxGtm_Cmu_getClkFrequency (Ifx_GTM *gtm, IfxGtm_Cmu_Clk clkIndex, boolean assumeEnabled)
 Returns the GTM configurable clock frequency in Hz. More...
 
float32 IfxGtm_Cmu_getEclkFrequency (Ifx_GTM *gtm, IfxGtm_Cmu_Eclk clkIndex, boolean assumeEnabled)
 Returns the GTM external clock frequency in Hz. More...
 
float32 IfxGtm_Cmu_getFxClkFrequency (Ifx_GTM *gtm, IfxGtm_Cmu_Fxclk clkIndex, boolean assumeEnabled)
 Returns the GTM fixed clock frequency in Hz. More...
 
float32 IfxGtm_Cmu_getGclkFrequency (Ifx_GTM *gtm)
 Returns the GTM global clock frequency in Hz. More...
 
float32 IfxGtm_Cmu_getModuleFrequency (Ifx_GTM *gtm)
 Returns the GTM module frequency in Hz. More...
 
boolean IfxGtm_Cmu_isClkClockEnabled (Ifx_GTM *gtm, IfxGtm_Cmu_Clk clkIndex)
 Returns the configurable clock enable status. More...
 
boolean IfxGtm_Cmu_isEclkClockEnabled (Ifx_GTM *gtm, IfxGtm_Cmu_Eclk clkIndex)
 Returns the external clock enable status. More...
 
boolean IfxGtm_Cmu_isFxClockEnabled (Ifx_GTM *gtm)
 Returns the fixed clock enable status. More...
 
void IfxGtm_Cmu_selectClkInput (Ifx_GTM *gtm, IfxGtm_Cmu_Clk clkIndex, boolean useGlobal)
 Select the clock input for CLK6 and CLK7 note The frequency can only be modified when the corresponding clock is disabled using IfxGtm_Cmu_enableClocks() More...
 
void IfxGtm_Cmu_setClkFrequency (Ifx_GTM *gtm, IfxGtm_Cmu_Clk clkIndex, float32 frequency)
 Set the GTM configurable clock frequency in Hz. More...
 
void IfxGtm_Cmu_setEclkFrequency (Ifx_GTM *gtm, IfxGtm_Cmu_Eclk clkIndex, float32 frequency)
 Set the GTM external clock frequency in Hz. More...
 
void IfxGtm_Cmu_setGclkFrequency (Ifx_GTM *gtm, float32 frequency)
 Set the GTM global clock frequency in Hz. More...
 

Detailed Description

GTM basic functionality.

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_Cmu.c.