iLLD_TC29x  1.0
IfxCcu6.c File Reference

CCU6 basic functionality. More...

#include "IfxCcu6.h"

Go to the source code of this file.

Functions

void IfxCcu6_connectTrigger (Ifx_CCU6 *ccu6, IfxCcu6_TrigOut outputLine, IfxCcu6_TrigSel selectedTrigger)
 
void IfxCcu6_disableModulationOutput (Ifx_CCU6 *ccu6, IfxCcu6_TimerId timer, IfxCcu6_ChannelOut channelOut)
 Disables the modulation of the corresponding output signal by PWM pattern generated by the timers T12 and T13. More...
 
void IfxCcu6_enableModulationOutput (Ifx_CCU6 *ccu6, IfxCcu6_TimerId timer, IfxCcu6_ChannelOut channelOut)
 Enables the modulation of the corresponding output signal by PWM pattern generated by the timers T12 and T13. More...
 
void IfxCcu6_enableModule (Ifx_CCU6 *ccu6)
 Enables the selected CCU6 kernel. More...
 
uint32 IfxCcu6_getCaptureRegisterValue (Ifx_CCU6 *ccu6, IfxCcu6_T12Channel channel)
 Returns the capture register value of the selected channel. More...
 
uint32 IfxCcu6_getCaptureShadowRegisterValue (Ifx_CCU6 *ccu6, IfxCcu6_T12Channel channel)
 Returns the capture shadow register value of the selected channel. More...
 
sint32 IfxCcu6_getIndex (Ifx_CCU6 *ccu6)
 Returns CCU6 index. More...
 
volatile Ifx_SRC_SRCR * IfxCcu6_getSrcAddress (Ifx_CCU6 *ccu6, IfxCcu6_ServiceRequest serviceRequest)
 Returns the service request register. More...
 
uint32 IfxCcu6_readTimer (Ifx_CCU6 *ccu6, IfxCcu6_TimerId timer)
 Returns the current value of the timer register. More...
 
void IfxCcu6_resetModule (Ifx_CCU6 *ccu6)
 
void IfxCcu6_routeInterruptNode (Ifx_CCU6 *ccu6, IfxCcu6_InterruptSource source, IfxCcu6_ServiceRequest serviceRequest)
 Routes the interrupt node pointer to the selected service requests. More...
 
void IfxCcu6_setOutputPassiveLevel (Ifx_CCU6 *ccu6, IfxCcu6_ChannelOut channelOut, boolean state)
 Sets the passive state level of the PWM outputs of the module. More...
 
void IfxCcu6_setT12CaptureCompareState (Ifx_CCU6 *ccu6, IfxCcu6_T12Channel channel, IfxCcu6_CaptureCompareState state)
 Sets software-control (independent set and clear conditions) for the Timer12 channel state bits CC6xST (x=0,1,2) More...
 
void IfxCcu6_setT12CompareValue (Ifx_CCU6 *ccu6, IfxCcu6_T12Channel channel, uint16 value)
 Sets the 16-bit compare value of Timer12 (writes into shadow registers) More...
 
float32 IfxCcu6_setT12Frequency (Ifx_CCU6 *ccu6, float32 frequency, Ifx_TimerValue resolution, IfxCcu6_T12CountMode countMode)
 Sets the frequency and clock input of the Timer 12. More...
 
void IfxCcu6_setT12InputSignal (Ifx_CCU6 *ccu6, IfxCcu6_T12hr_In *extInput)
 selects the actual input signal for the timer inputs. More...
 
void IfxCcu6_setT13CaptureCompareState (Ifx_CCU6 *ccu6, IfxCcu6_CaptureCompareState state)
 Sets software-control (independent set and clear conditions) for the Timer13 channel state bits CC63ST. More...
 
float32 IfxCcu6_setT13Frequency (Ifx_CCU6 *ccu6, float32 frequency, Ifx_TimerValue resolution)
 Sets the frequency and clock input of the Timer 13. More...
 
void IfxCcu6_setT13InputSignal (Ifx_CCU6 *ccu6, IfxCcu6_T13hr_In *extInput)
 selects the actual input signal for the timer inputs. More...
 

Detailed Description

CCU6 basic functionality.

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.c.

Function Documentation

void IfxCcu6_resetModule ( Ifx_CCU6 *  ccu6)
Parameters
ccu6pointer to ccu6 registers
Returns
None

Definition at line 225 of file IfxCcu6.c.