iLLD_TC27xD  1.0
Baudrate Configuration
Collaboration diagram for Baudrate Configuration:

Functions

IFX_INLINE void IfxSent_setChannelFractionalDivider (Ifx_SENT *sent, IfxSent_ChannelId channelId, uint16 divider)
 Sets the channel fractional baudrate divider. More...
 
IFX_INLINE void IfxSent_setChannelPreDivider (Ifx_SENT *sent, IfxSent_ChannelId channelId, uint16 preDivider)
 Sets the channel baudrate pre-divider. More...
 
IFX_EXTERN float32 IfxSent_getModuleClock (Ifx_SENT *sent)
 Returns the current module frequency in Hertz. More...
 
IFX_EXTERN 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...
 
IFX_EXTERN void IfxSent_initializeModuleClock (Ifx_SENT *sent, IfxSent_ClockDividerMode dividerMode, uint16 stepValue)
 Initialize and get the clock for SENT kernel. More...
 

Detailed Description

Function Documentation

IFX_EXTERN float32 IfxSent_getModuleClock ( Ifx_SENT *  sent)

Returns the current module frequency in Hertz.

Parameters
sentbase address of the SENT register space
Returns
The current module frequency in Hertz

Definition at line 55 of file IfxSent.c.

Referenced by IfxSent_getChannelUnitTime(), and IfxSent_initializeChannelUnitTime().

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

Parameters
sentbase address of the SENT register space
channelIdSENT channel number
tUnitdesired unit time (f_tick), e.g. 3E-6 for 3 uS
Returns
None

Definition at line 86 of file IfxSent.c.

Referenced by IfxSent_Sent_initChannel().

IFX_EXTERN void IfxSent_initializeModuleClock ( Ifx_SENT *  sent,
IfxSent_ClockDividerMode  dividerMode,
uint16  stepValue 
)

Initialize and get the clock for SENT kernel.

Parameters
sentbase address of the SENT register space
dividerModeDivider mode for clock output
stepValueclock frequency for for module fractional divider
Returns
None

Definition at line 118 of file IfxSent.c.

Referenced by IfxSent_Sent_initModule().

IFX_INLINE void IfxSent_setChannelFractionalDivider ( Ifx_SENT *  sent,
IfxSent_ChannelId  channelId,
uint16  divider 
)

Sets the channel fractional baudrate divider.

Parameters
sentbase address of the SENT register space
channelIdSENT channel number
dividerchannel baudrate fractional divider
Returns
None

Definition at line 477 of file IfxSent.h.

Referenced by IfxSent_initializeChannelUnitTime().

IFX_INLINE void IfxSent_setChannelPreDivider ( Ifx_SENT *  sent,
IfxSent_ChannelId  channelId,
uint16  preDivider 
)

Sets the channel baudrate pre-divider.

Parameters
sentbase address of the SENT register space
channelIdSENT channel number
preDividerchannel baudrate pre-divider
Returns
None

Definition at line 483 of file IfxSent.h.

Referenced by IfxSent_initializeChannelUnitTime().