iLLD_TC27xD  1.0
IfxCcu6_TimerWithTrigger.c File Reference

CCU6 TIMERWITHTRIGGER details. More...

#include "IfxCcu6_TimerWithTrigger.h"
#include "_Utilities/Ifx_Assert.h"
#include "stddef.h"
#include "string.h"

Go to the source code of this file.

Functions

boolean IfxCcu6_TimerWithTrigger_acknowledgeTimerIrq (IfxCcu6_TimerWithTrigger *driver)
 Returns the timer event. More...
 
boolean IfxCcu6_TimerWithTrigger_acknowledgeTriggerIrq (IfxCcu6_TimerWithTrigger *driver)
 Returns the trigger event. More...
 
void IfxCcu6_TimerWithTrigger_applyUpdate (IfxCcu6_TimerWithTrigger *driver)
 Enable the transfer of the shadow registers. More...
 
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...
 
float32 IfxCcu6_TimerWithTrigger_getFrequency (IfxCcu6_TimerWithTrigger *driver)
 Returns the frequency. More...
 
float32 IfxCcu6_TimerWithTrigger_getInputFrequency (IfxCcu6_TimerWithTrigger *driver)
 Returns the Input frequncy. More...
 
Ifx_TimerValue IfxCcu6_TimerWithTrigger_getPeriod (IfxCcu6_TimerWithTrigger *driver)
 Returns the period of the timer. More...
 
volatile uint32IfxCcu6_TimerWithTrigger_getPointer (IfxCcu6_TimerWithTrigger *driver)
 Returns the pointer to timer channel. More...
 
float32 IfxCcu6_TimerWithTrigger_getResolution (IfxCcu6_TimerWithTrigger *driver)
 Returns the resolution. More...
 
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...
 
void IfxCcu6_TimerWithTrigger_initConfig (IfxCcu6_TimerWithTrigger_Config *config, Ifx_CCU6 *ccu6)
 Initializes the configuration structure to default. More...
 
void IfxCcu6_TimerWithTrigger_run (IfxCcu6_TimerWithTrigger *driver)
 Runs the timer. More...
 
boolean IfxCcu6_TimerWithTrigger_setFrequency (IfxCcu6_TimerWithTrigger *driver, float32 frequency)
 Sets the frequency. More...
 
boolean IfxCcu6_TimerWithTrigger_setPeriod (IfxCcu6_TimerWithTrigger *driver, Ifx_TimerValue period)
 Sets the period for the timer. More...
 
void IfxCcu6_TimerWithTrigger_setSingleMode (IfxCcu6_TimerWithTrigger *driver, boolean enabled)
 Sets the single shot mode of the timer. More...
 
void IfxCcu6_TimerWithTrigger_setTrigger (IfxCcu6_TimerWithTrigger *driver, Ifx_TimerValue triggerPoint)
 Sets the trigger. More...
 
boolean IfxCcu6_TimerWithTrigger_stdIfTimerInit (IfxStdIf_Timer *stdif, IfxCcu6_TimerWithTrigger *driver)
 Initializes the standard interface timer. More...
 
void IfxCcu6_TimerWithTrigger_stop (IfxCcu6_TimerWithTrigger *driver)
 Stops the timer. More...
 
void IfxCcu6_TimerWithTrigger_updateInputFrequency (IfxCcu6_TimerWithTrigger *driver)
 Updates the input frequency. 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.c.