iLLD_TC27xD  1.0
IfxCcu6_PwmHl.h File Reference

CCU6 PWMHL details. More...

Go to the source code of this file.

Data Structures

struct  IfxCcu6_PwmHl_Base
 Multi-channels PWM object definition (channels only) More...
 
struct  IfxCcu6_PwmHl_Config
 CCU6: PWM HL configuration. More...
 
struct  IfxCcu6_PwmHl_Mode
 Structure for PWM configuration. More...
 
struct  IfxCcu6_PwmHl_s
 CCU6 PWM driver. More...
 

Macros

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

Typedefs

typedef struct IfxCcu6_PwmHl_s IfxCcu6_PwmHl
 
typedef void(* IfxCcu6_PwmHl_Update )(IfxCcu6_PwmHl *driver, Ifx_TimerValue *tOn)
 

Functions

IFX_EXTERN boolean IfxCcu6_PwmHl_init (IfxCcu6_PwmHl *driver, const IfxCcu6_PwmHl_Config *config)
 Initializes the timer object. More...
 
IFX_EXTERN void IfxCcu6_PwmHl_initConfig (IfxCcu6_PwmHl_Config *config)
 Initialize the configuration structure to default. More...
 
IFX_EXTERN float32 IfxCcu6_PwmHl_getDeadtime (IfxCcu6_PwmHl *driver)
 Returns the dead time. More...
 
IFX_EXTERN float32 IfxCcu6_PwmHl_getMinPulse (IfxCcu6_PwmHl *driver)
 Returns the minimum pulse. More...
 
IFX_EXTERN Ifx_Pwm_Mode IfxCcu6_PwmHl_getMode (IfxCcu6_PwmHl *driver)
 Returns Pwm mode. More...
 
IFX_EXTERN boolean IfxCcu6_PwmHl_setDeadtime (IfxCcu6_PwmHl *driver, float32 deadtime)
 Sets the dead time. More...
 
IFX_EXTERN boolean IfxCcu6_PwmHl_setMinPulse (IfxCcu6_PwmHl *driver, float32 minPulse)
 Sets the minimum pulse. More...
 
IFX_EXTERN boolean IfxCcu6_PwmHl_setMode (IfxCcu6_PwmHl *driver, Ifx_Pwm_Mode mode)
 Sets the PWM mode, the mode is only applied after setOnTime() + applyUpdate() More...
 
IFX_EXTERN void IfxCcu6_PwmHl_setOnTime (IfxCcu6_PwmHl *driver, Ifx_TimerValue *tOn)
 Sets the ON time Assign the ON time to the TOP channels. The ON time of the BOTTOM channels are complementary. More...
 
IFX_EXTERN void IfxCcu6_PwmHl_setupChannels (IfxCcu6_PwmHl *driver, boolean *activeCh, boolean *stuckSt)
 Set channels which are generating PWM or in "stuck-at" state. More...
 
IFX_EXTERN boolean IfxCcu6_PwmHl_stdIfPwmHlInit (IfxStdIf_PwmHl *stdif, IfxCcu6_PwmHl *driver)
 Initialises the statndard interface Pwm. More...
 

Detailed Description

CCU6 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 IfxCcu6_PwmHl.h.

Macro Definition Documentation

#define IFXCCU6_PWMHL_MAX_CHANNELS   (3)

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

Definition at line 61 of file IfxCcu6_PwmHl.h.

Referenced by IfxCcu6_PwmHl_init().

Typedef Documentation

Definition at line 67 of file IfxCcu6_PwmHl.h.

typedef void(* IfxCcu6_PwmHl_Update)(IfxCcu6_PwmHl *driver, Ifx_TimerValue *tOn)

Definition at line 69 of file IfxCcu6_PwmHl.h.