iLLD_TC29x
1.0
|
Timer interface. More...
#include "Cpu/Std/Ifx_Types.h"
Go to the source code of this file.
Data Structures | |
struct | Timer_Functions |
struct | Timer_s |
Structure of the Timer interface. More... | |
struct | Timer_Config |
Configuration structure of the Timer interface. More... | |
Typedefs | |
typedef struct Timer_s | Timer |
typedef void(* | Timer_Start )(Timer *handle) |
typedef void(* | Timer_Stop )(Timer *handle) |
typedef void(* | Timer_SynchronousStart )(Timer *handle) |
typedef void(* | Timer_SynchronousStop )(Timer *handle) |
typedef void(* | Timer_CountOneStep )(Timer *handle) |
typedef void(* | Timer_StartSingleShotMode )(Timer *handle) |
Timer 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 Timer.h.
struct Timer_Functions |
Data Fields | ||
---|---|---|
Timer_CountOneStep | countOneStep | |
Timer_Start | start | |
Timer_StartSingleShotMode | startSingleShotMode | |
Timer_Stop | stop | |
Timer_SynchronousStart | synchronousStart | |
Timer_SynchronousStop | synchronousStop |
struct Timer_s |
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 Timer_Config |
Data Fields | ||
---|---|---|
Ifx_TimerValue | activeCount | Specify active PWM period (TCOUNT) |
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. |
Ifx_TimerValue | waitingTime | Specify the expected ticks before timer starts (TWAIT) |