iLLD_TC27xD  1.0
IfxSent.c File Reference

SENT basic functionality. More...

#include "IfxSent.h"

Go to the source code of this file.

Functions

float32 IfxSent_getChannelUnitTime (Ifx_SENT *sent, IfxSent_ChannelId channelId)
 Returns the current unit time (f_tick) of the given channel. More...
 
float32 IfxSent_getModuleClock (Ifx_SENT *sent)
 Returns the current module frequency in Hertz. More...
 
void IfxSent_initializeChannelUnitTime (Ifx_SENT *sent, IfxSent_ChannelId channelId, float32 tUnit)
 Initializes the desired unit time (f_tick) for the external SENT device connected to the given channel. More...
 
void IfxSent_initializeModuleClock (Ifx_SENT *sent, IfxSent_ClockDividerMode dividerMode, uint16 stepValue)
 Initialize and get the clock for SENT kernel. More...
 
void IfxSent_resetModule (Ifx_SENT *sent)
 Resets the SENT module. More...
 

Detailed Description

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

Function Documentation

float32 IfxSent_getChannelUnitTime ( Ifx_SENT *  sent,
IfxSent_ChannelId  channelId 
)

Returns the current unit time (f_tick) of the given channel.

Parameters
sentbase address of the SENT register space
channelIdSENT channel number
Returns
The current unit time in seconds

Definition at line 36 of file IfxSent.c.