iLLD_TC29x
1.0
|
TPWM interface. More...
#include "Cpu/Std/Ifx_Types.h"
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) |
TPWM interface.
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.
struct TPwm_Functions |
Data Fields | ||
---|---|---|
TPwm_Pause | pause | |
TPwm_Resume | resume | |
TPwm_Start | start | |
TPwm_Stop | stop |
struct TPwm_s |
Data Fields | ||
---|---|---|
float32 | frequency | Actual frequency. |
Ifx_TimerValue | period | Actual timer period. |
struct TPwm_Config |
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) |