iLLD_TC27xD  1.0
IfxGtm_Tom_PwmHl.h File Reference

GTM PWMHL details. More...

Go to the source code of this file.

Data Structures

struct  IfxGtm_Tom_PwmHl_Base
 Multi-channels PWM object definition (channels only) More...
 
struct  IfxGtm_Tom_PwmHl_Config
 GTM TOM: PWM HL configuration. More...
 
struct  IfxGtm_Tom_PwmHl_Mode
 Structure for PWM configuration. More...
 
struct  IfxGtm_Tom_PwmHl_s
 GTM TOM PWM driver. More...
 

Macros

#define IFXGTM_TOM_PWMHL_MAX_NUM_CHANNELS   (3)
 Maximal number of channels handled by the driver. One channel has a top and bottom pwm output Limited to 3 because the PWM channels used must be owned by the same TGC. More...
 

Typedefs

typedef struct IfxGtm_Tom_PwmHl_s IfxGtm_Tom_PwmHl
 
typedef void(* IfxGtm_Tom_PwmHl_Update )(IfxGtm_Tom_PwmHl *driver, Ifx_TimerValue *tOn)
 

Functions

IFX_EXTERN boolean IfxGtm_Tom_PwmHl_init (IfxGtm_Tom_PwmHl *driver, const IfxGtm_Tom_PwmHl_Config *config)
 Initializes the timer object note To ensure that the channels counter are reset by the timer and do not overflow, leading to random signal on the output, the timer must be started before the call to this function. Note: all PWM channels must use the same TGC Note: the current implementation must use the same TGC for the timer and PWM channels. More...
 
IFX_EXTERN void IfxGtm_Tom_PwmHl_initConfig (IfxGtm_Tom_PwmHl_Config *config)
 Initialize the configuration structure to default. More...
 
IFX_EXTERN float32 IfxGtm_Tom_PwmHl_getDeadtime (IfxGtm_Tom_PwmHl *driver)
 Returns the dead time. More...
 
IFX_EXTERN float32 IfxGtm_Tom_PwmHl_getMinPulse (IfxGtm_Tom_PwmHl *driver)
 Returns the minimum pulse. More...
 
IFX_EXTERN Ifx_Pwm_Mode IfxGtm_Tom_PwmHl_getMode (IfxGtm_Tom_PwmHl *driver)
 Returns Pwm mode. More...
 
IFX_EXTERN boolean IfxGtm_Tom_PwmHl_setDeadtime (IfxGtm_Tom_PwmHl *driver, float32 deadtime)
 Sets the dead time. More...
 
IFX_EXTERN boolean IfxGtm_Tom_PwmHl_setMinPulse (IfxGtm_Tom_PwmHl *driver, float32 minPulse)
 Sets the minimum pulse. More...
 
IFX_EXTERN boolean IfxGtm_Tom_PwmHl_setMode (IfxGtm_Tom_PwmHl *driver, Ifx_Pwm_Mode mode)
 Sets the PWM mode, the mode is only applied after setOnTime() + applyUpdate() More...
 
IFX_EXTERN void IfxGtm_Tom_PwmHl_setOnTime (IfxGtm_Tom_PwmHl *driver, Ifx_TimerValue *tOn)
 Sets the ON time. More...
 
IFX_EXTERN void IfxGtm_Tom_PwmHl_setupChannels (IfxGtm_Tom_PwmHl *driver, boolean *activeCh, boolean *stuckSt)
 Set up channels. More...
 
IFX_EXTERN boolean IfxGtm_Tom_PwmHl_stdIfPwmHlInit (IfxStdIf_PwmHl *stdif, IfxGtm_Tom_PwmHl *driver)
 Initialises the statndard interface Pwm. More...
 

Detailed Description

GTM PWMHL 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_PwmHl.h.

Macro Definition Documentation

#define IFXGTM_TOM_PWMHL_MAX_NUM_CHANNELS   (3)

Maximal number of channels handled by the driver. One channel has a top and bottom pwm output Limited to 3 because the PWM channels used must be owned by the same TGC.

Definition at line 129 of file IfxGtm_Tom_PwmHl.h.

Referenced by IfxGtm_Tom_PwmHl_init().

Typedef Documentation

Definition at line 135 of file IfxGtm_Tom_PwmHl.h.

typedef void(* IfxGtm_Tom_PwmHl_Update)(IfxGtm_Tom_PwmHl *driver, Ifx_TimerValue *tOn)

Definition at line 137 of file IfxGtm_Tom_PwmHl.h.