iLLD_TC29x  1.0
TPwm.h File Reference

TPWM interface. More...

Go to the source code of this file.

Data Structures

struct  TPwm_Functions
 
struct  TPwm_s
 Structure of the TPwm interface. More...
 
struct  TPwm_Config
 Configuration structure of the TPwm interface. More...
 

Typedefs

typedef struct TPwm_s TPwm
 
typedef void(* TPwm_Start )(TPwm *handle)
 
typedef void(* TPwm_Pause )(TPwm *handle)
 
typedef void(* TPwm_Resume )(TPwm *handle)
 
typedef void(* TPwm_Stop )(TPwm *handle)
 

Detailed Description

TPWM 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 TPwm.h.


Data Structure Documentation

struct TPwm_Functions

Definition at line 39 of file TPwm.h.

Collaboration diagram for TPwm_Functions:
Data Fields
TPwm_Pause pause
TPwm_Resume resume
TPwm_Start start
TPwm_Stop stop
struct TPwm_s

Structure of the TPwm interface.

Definition at line 48 of file TPwm.h.

Data Fields
float32 frequency Actual frequency.
Ifx_TimerValue period Actual timer period.
struct TPwm_Config

Configuration structure of the TPwm interface.

Definition at line 58 of file TPwm.h.

Data Fields
Ifx_TimerValue activeCount Specify active PWM period (TCOUNT)
Ifx_ActiveState activeState Active state select for PWM output. Active high means that the PWM edge is rising at the elapsed of waitingTicks.
float32 frequency Specify expected PWM frequency in Hertz.
Ifx_TimerValue period Specify expected PWM period in ticks.
Ifx_TimerValue waitingTime Specify the expected ticks before timer starts (TWAIT)

Typedef Documentation

typedef struct TPwm_s TPwm

Definition at line 33 of file TPwm.h.

typedef void(* TPwm_Pause)(TPwm *handle)

Definition at line 35 of file TPwm.h.

typedef void(* TPwm_Resume)(TPwm *handle)

Definition at line 36 of file TPwm.h.

typedef void(* TPwm_Start)(TPwm *handle)

Definition at line 34 of file TPwm.h.

typedef void(* TPwm_Stop)(TPwm *handle)

Definition at line 37 of file TPwm.h.