iLLD_TC27xD  1.0
IfxGtm_Cmu.h File Reference

GTM basic functionality. More...

#include "_Impl/IfxGtm_cfg.h"

Go to the source code of this file.

Enumerations

enum  IfxGtm_Cmu_Clk {
  IfxGtm_Cmu_Clk_0 = 0,
  IfxGtm_Cmu_Clk_1,
  IfxGtm_Cmu_Clk_2,
  IfxGtm_Cmu_Clk_3,
  IfxGtm_Cmu_Clk_4,
  IfxGtm_Cmu_Clk_5,
  IfxGtm_Cmu_Clk_6,
  IfxGtm_Cmu_Clk_7
}
 
enum  IfxGtm_Cmu_Eclk {
  IfxGtm_Cmu_Eclk_0 = 0,
  IfxGtm_Cmu_Eclk_1,
  IfxGtm_Cmu_Eclk_2
}
 
enum  IfxGtm_Cmu_Fxclk {
  IfxGtm_Cmu_Fxclk_0 = 0,
  IfxGtm_Cmu_Fxclk_1,
  IfxGtm_Cmu_Fxclk_2,
  IfxGtm_Cmu_Fxclk_3,
  IfxGtm_Cmu_Fxclk_4
}
 

Functions

IFX_EXTERN void IfxGtm_Cmu_enableClocks (Ifx_GTM *gtm, uint32 clkMask)
 Enable / Disable the configurable, fixed, and external clocks. More...
 
IFX_EXTERN float32 IfxGtm_Cmu_getClkFrequency (Ifx_GTM *gtm, IfxGtm_Cmu_Clk clkIndex, boolean assumeEnabled)
 Returns the GTM configurable clock frequency in Hz. More...
 
IFX_EXTERN float32 IfxGtm_Cmu_getEclkFrequency (Ifx_GTM *gtm, IfxGtm_Cmu_Eclk clkIndex, boolean assumeEnabled)
 Returns the GTM external clock frequency in Hz. More...
 
IFX_EXTERN float32 IfxGtm_Cmu_getFxClkFrequency (Ifx_GTM *gtm, IfxGtm_Cmu_Fxclk clkIndex, boolean assumeEnabled)
 Returns the GTM fixed clock frequency in Hz. More...
 
IFX_EXTERN float32 IfxGtm_Cmu_getGclkFrequency (Ifx_GTM *gtm)
 Returns the GTM global clock frequency in Hz. More...
 
IFX_EXTERN float32 IfxGtm_Cmu_getModuleFrequency (Ifx_GTM *gtm)
 Returns the GTM module frequency in Hz. More...
 
IFX_EXTERN boolean IfxGtm_Cmu_isClkClockEnabled (Ifx_GTM *gtm, IfxGtm_Cmu_Clk clkIndex)
 Returns the configurable clock enable status. More...
 
IFX_EXTERN boolean IfxGtm_Cmu_isEclkClockEnabled (Ifx_GTM *gtm, IfxGtm_Cmu_Eclk clkIndex)
 Returns the external clock enable status. More...
 
IFX_EXTERN boolean IfxGtm_Cmu_isFxClockEnabled (Ifx_GTM *gtm)
 Returns the fixed clock enable status. More...
 
IFX_EXTERN 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...
 
IFX_EXTERN void IfxGtm_Cmu_setClkFrequency (Ifx_GTM *gtm, IfxGtm_Cmu_Clk clkIndex, float32 frequency)
 Set the GTM configurable clock frequency in Hz. More...
 
IFX_EXTERN void IfxGtm_Cmu_setEclkFrequency (Ifx_GTM *gtm, IfxGtm_Cmu_Eclk clkIndex, float32 frequency)
 Set the GTM external clock frequency in Hz. More...
 
IFX_EXTERN 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.h.