iLLD_TC29x  1.0
PwmHl.h File Reference

Multi-channels, dual-complementary PWM interface. More...

Go to the source code of this file.

Data Structures

struct  PwmHl_Functions
 
struct  PwmHl_s
 Structure of the TPwm interface. More...
 
struct  PwmHl_Config
 Configuration structure of the TPwm interface. More...
 

Typedefs

typedef struct PwmHl_s PwmHl
 
typedef void(* PwmHl_Start )(PwmHl *handle)
 
typedef void(* PwmHl_Pause )(PwmHl *handle)
 
typedef void(* PwmHl_Resume )(PwmHl *handle)
 
typedef void(* PwmHl_Stop )(PwmHl *handle)
 

Detailed Description

Multi-channels, dual-complementary PWM interface.

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 PwmHl.h.


Data Structure Documentation

struct PwmHl_Functions

Definition at line 39 of file PwmHl.h.

Collaboration diagram for PwmHl_Functions:
Data Fields
PwmHl_Start start
PwmHl_Stop stop
struct PwmHl_s

Structure of the TPwm interface.

Definition at line 46 of file PwmHl.h.

Data Fields
float32 t12Frequency Actual timer12 frequency.
Ifx_TimerValue t12Period Actual timer 12 period.
float32 t13Frequency Actual timer13 frequency.
Ifx_TimerValue t13Period Actual timer 13 period.
struct PwmHl_Config

Configuration structure of the TPwm interface.

Definition at line 58 of file PwmHl.h.

Data Fields
Ifx_ActiveState activeState Active state select for PWM output. Active high means that the PWM edge is rising at the elapsed of waitingTicks.
Ifx_TimerValue noiseFilter Specify hall sensor noise filter.
Ifx_TimerValue phaseDelay Specify the ticks before before updating each ouput hall pattern.
float32 t12Frequency Specify expected T12 PWM frequency in Hertz.
Ifx_TimerValue t12Period Specify expected T12 PWM period in ticks.
float32 t13Frequency Specify expected T13 PWM frequency in Hertz.
Ifx_TimerValue t13Period Specify expected T13 PWM period in ticks.

Typedef Documentation

typedef struct PwmHl_s PwmHl

Definition at line 33 of file PwmHl.h.

typedef void(* PwmHl_Pause)(PwmHl *handle)

Definition at line 35 of file PwmHl.h.

typedef void(* PwmHl_Resume)(PwmHl *handle)

Definition at line 36 of file PwmHl.h.

typedef void(* PwmHl_Start)(PwmHl *handle)

Definition at line 34 of file PwmHl.h.

typedef void(* PwmHl_Stop)(PwmHl *handle)

Definition at line 37 of file PwmHl.h.