iLLD_TC27xD  1.0
IfxGtm_Atom_PwmHl.h File Reference

GTM PWMHL details. More...

Go to the source code of this file.

Data Structures

struct  IfxGtm_Atom_PwmHl_Base
 Multi-channels PWM object definition (channels only) More...
 
struct  IfxGtm_Atom_PwmHl_Config
 GTM ATOM: PWM HL configuration. More...
 
struct  IfxGtm_Atom_PwmHl_Mode
 Structure for PWM configuration. More...
 
struct  IfxGtm_Atom_PwmHl_s
 GTM ATOM PWM driver. More...
 

Macros

#define IFXGTM_ATOM_PWMHL_MAX_NUM_CHANNELS   (8)
 Maximal number of channels handled by the driver. One channel has a top and bottom pwm output. More...
 

Typedefs

typedef struct IfxGtm_Atom_PwmHl_s IfxGtm_Atom_PwmHl
 
typedef void(* IfxGtm_Atom_PwmHl_Update )(IfxGtm_Atom_PwmHl *driver, Ifx_TimerValue *tOn)
 

Functions

IFX_EXTERN boolean IfxGtm_Atom_PwmHl_init (IfxGtm_Atom_PwmHl *driver, const IfxGtm_Atom_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. More...
 
IFX_EXTERN void IfxGtm_Atom_PwmHl_initConfig (IfxGtm_Atom_PwmHl_Config *config)
 Initialize the configuration structure to default. More...
 
IFX_EXTERN float32 IfxGtm_Atom_PwmHl_getDeadtime (IfxGtm_Atom_PwmHl *driver)
 Returns the dead time. More...
 
IFX_EXTERN float32 IfxGtm_Atom_PwmHl_getMinPulse (IfxGtm_Atom_PwmHl *driver)
 Returns the minimum pulse. More...
 
IFX_EXTERN Ifx_Pwm_Mode IfxGtm_Atom_PwmHl_getMode (IfxGtm_Atom_PwmHl *driver)
 Returns Pwm mode. More...
 
IFX_EXTERN boolean IfxGtm_Atom_PwmHl_setDeadtime (IfxGtm_Atom_PwmHl *driver, float32 deadtime)
 Sets the dead time. More...
 
IFX_EXTERN boolean IfxGtm_Atom_PwmHl_setMinPulse (IfxGtm_Atom_PwmHl *driver, float32 minPulse)
 Sets the minimum pulse. More...
 
IFX_EXTERN boolean IfxGtm_Atom_PwmHl_setMode (IfxGtm_Atom_PwmHl *driver, Ifx_Pwm_Mode mode)
 Sets the PWM mode, the mode is only applied after setOnTime() + applyUpdate() More...
 
IFX_EXTERN void IfxGtm_Atom_PwmHl_setOnTime (IfxGtm_Atom_PwmHl *driver, Ifx_TimerValue *tOn)
 Sets the ON time. More...
 
IFX_EXTERN void IfxGtm_Atom_PwmHl_setupChannels (IfxGtm_Atom_PwmHl *driver, boolean *activeCh, boolean *stuckSt)
 Set up channels. More...
 
IFX_EXTERN boolean IfxGtm_Atom_PwmHl_stdIfPwmHlInit (IfxStdIf_PwmHl *stdif, IfxGtm_Atom_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_Atom_PwmHl.h.

Macro Definition Documentation

#define IFXGTM_ATOM_PWMHL_MAX_NUM_CHANNELS   (8)

Maximal number of channels handled by the driver. One channel has a top and bottom pwm output.

Definition at line 89 of file IfxGtm_Atom_PwmHl.h.

Referenced by IfxGtm_Atom_PwmHl_init().

Typedef Documentation

Definition at line 95 of file IfxGtm_Atom_PwmHl.h.

typedef void(* IfxGtm_Atom_PwmHl_Update)(IfxGtm_Atom_PwmHl *driver, Ifx_TimerValue *tOn)

Definition at line 97 of file IfxGtm_Atom_PwmHl.h.