iLLD_TC27xD  1.0
IfxCcu6_TimerWithTrigger.h File Reference

CCU6 TIMERWITHTRIGGER details. More...

Go to the source code of this file.

Data Structures

struct  IfxCcu6_TimerWithTrigger_Base
 Structure for the timer base. More...
 
struct  IfxCcu6_TimerWithTrigger
 CCU6 Timer interface. More...
 
struct  IfxCcu6_TimerWithTrigger_Config
 Configuration structure for T12 and T13 Timer. More...
 

Functions

IFX_EXTERN boolean IfxCcu6_TimerWithTrigger_acknowledgeTimerIrq (IfxCcu6_TimerWithTrigger *driver)
 Returns the timer event. More...
 
IFX_EXTERN boolean IfxCcu6_TimerWithTrigger_acknowledgeTriggerIrq (IfxCcu6_TimerWithTrigger *driver)
 Returns the trigger event. More...
 
IFX_EXTERN void IfxCcu6_TimerWithTrigger_applyUpdate (IfxCcu6_TimerWithTrigger *driver)
 Enable the transfer of the shadow registers. More...
 
IFX_EXTERN void IfxCcu6_TimerWithTrigger_disableUpdate (IfxCcu6_TimerWithTrigger *driver)
 Disables the upadte
This function is has an empty body as the updated is disabled automatically after the shadow transfer. More...
 
IFX_EXTERN float32 IfxCcu6_TimerWithTrigger_getFrequency (IfxCcu6_TimerWithTrigger *driver)
 Returns the frequency. More...
 
IFX_EXTERN float32 IfxCcu6_TimerWithTrigger_getInputFrequency (IfxCcu6_TimerWithTrigger *driver)
 Returns the Input frequncy. More...
 
IFX_EXTERN Ifx_TimerValue IfxCcu6_TimerWithTrigger_getPeriod (IfxCcu6_TimerWithTrigger *driver)
 Returns the period of the timer. More...
 
IFX_EXTERN float32 IfxCcu6_TimerWithTrigger_getResolution (IfxCcu6_TimerWithTrigger *driver)
 Returns the resolution. More...
 
IFX_EXTERN void IfxCcu6_TimerWithTrigger_run (IfxCcu6_TimerWithTrigger *driver)
 Runs the timer. More...
 
IFX_EXTERN boolean IfxCcu6_TimerWithTrigger_setFrequency (IfxCcu6_TimerWithTrigger *driver, float32 frequency)
 Sets the frequency. More...
 
IFX_EXTERN boolean IfxCcu6_TimerWithTrigger_setPeriod (IfxCcu6_TimerWithTrigger *driver, Ifx_TimerValue period)
 Sets the period for the timer. More...
 
IFX_EXTERN void IfxCcu6_TimerWithTrigger_setSingleMode (IfxCcu6_TimerWithTrigger *driver, boolean enabled)
 Sets the single shot mode of the timer. More...
 
IFX_EXTERN void IfxCcu6_TimerWithTrigger_setTrigger (IfxCcu6_TimerWithTrigger *driver, Ifx_TimerValue triggerPoint)
 Sets the trigger. More...
 
IFX_EXTERN boolean IfxCcu6_TimerWithTrigger_stdIfTimerInit (IfxStdIf_Timer *stdif, IfxCcu6_TimerWithTrigger *driver)
 Initializes the standard interface timer. More...
 
IFX_EXTERN void IfxCcu6_TimerWithTrigger_stop (IfxCcu6_TimerWithTrigger *driver)
 Stops the timer. More...
 
IFX_EXTERN void IfxCcu6_TimerWithTrigger_updateInputFrequency (IfxCcu6_TimerWithTrigger *driver)
 Updates the input frequency. More...
 
IFX_EXTERN volatile uint32IfxCcu6_TimerWithTrigger_getPointer (IfxCcu6_TimerWithTrigger *driver)
 Returns the pointer to timer channel. More...
 
IFX_EXTERN boolean IfxCcu6_TimerWithTrigger_init (IfxCcu6_TimerWithTrigger *driver, IfxCcu6_TimerWithTrigger_Config *config)
 Initialises the timer object
T12 is configured as timer, T13 is optionally configured as trigger
T12CLK, T12PRE and T12PR are chosen to achieve maximum PWM resolution
Note: To achieve maximum PWM resolution, the requested T12 frequency should be the
lowest PWM frequency.
. More...
 
IFX_EXTERN void IfxCcu6_TimerWithTrigger_initConfig (IfxCcu6_TimerWithTrigger_Config *config, Ifx_CCU6 *ccu6)
 Initializes the configuration structure to default. More...
 

Detailed Description

CCU6 TIMERWITHTRIGGER 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_TimerWithTrigger.h.


Data Structure Documentation

struct IfxCcu6_TimerWithTrigger

CCU6 Timer interface.

Definition at line 70 of file IfxCcu6_TimerWithTrigger.h.

Collaboration diagram for IfxCcu6_TimerWithTrigger:
Data Fields
IfxCcu6_TimerWithTrigger_Base base Timer base structure.
Ifx_CCU6 * ccu6 CCU6 module used for the timer functionality.
struct IfxCcu6_TimerWithTrigger_Config

Configuration structure for T12 and T13 Timer.

Definition at line 78 of file IfxCcu6_TimerWithTrigger.h.

Collaboration diagram for IfxCcu6_TimerWithTrigger_Config:
Data Fields
IfxStdIf_Timer_Config base Standard interface timer configuration.
Ifx_CCU6 * ccu6 CCU6 module used for the timer functionality.
IfxCcu6_ServiceRequest serviceReqNrPeriod Service request used for the period.
IfxCcu6_ServiceRequest serviceReqNrTrigger Service request used for the Trigger.
IfxCcu6_Cout63_Out * triggerOut