iLLD_TC29x
1.0
|
SENT basic functionality. More...
#include "_Impl/IfxSent_cfg.h"
#include "Src/Std/IfxSrc.h"
#include "Scu/Std/IfxScuCcu.h"
#include "_PinMap/IfxSent_PinMap.h"
#include "Cpu/Std/IfxCpu_Intrinsics.h"
#include "IfxSent_bf.h"
#include "IfxSent_reg.h"
Go to the source code of this file.
Macros | |
#define | IFXSENT_INTERRUPT_STATUS_ERROR_FLAGS (0x000037f4) |
Functions | |
IFX_INLINE void | IfxSent_setAltiInput (Ifx_SENT *sent, IfxSent_ChannelId channelId, IfxSent_AlternateInput alternateInput) |
Sets the operation mode of SENT kernel. More... | |
IFX_INLINE void | IfxSent_setTimeStampPredivider (Ifx_SENT *sent, uint32 timeStampPreDivider) |
Set the module time stamp pre-divider. More... | |
IFX_INLINE Ifx_SENT_CH_INTSTAT | IfxSent_getAndClearInterruptStatus (Ifx_SENT *sent, IfxSent_ChannelId channelId) |
Copies the current interrupt flags into the Ifx_SENT_CH_INTSTAT structure, and clears the flags in hardware. More... | |
IFX_INLINE Ifx_SENT_CH_INTSTAT | IfxSent_getChannelInterruptStatus (Ifx_SENT *sent, IfxSent_ChannelId channelId) |
Gets the current channel status. More... | |
IFX_INLINE volatile Ifx_SRC_SRCR * | IfxSent_getChannelSrc (IfxSent_ChannelId channelId) |
gets the source for channel interrupt handler More... | |
IFX_INLINE void | IfxSent_disableChannel (Ifx_SENT *sent, IfxSent_ChannelId channelId) |
Disable the channel with the channel number. More... | |
IFX_INLINE void | IfxSent_enableChannel (Ifx_SENT *sent, IfxSent_ChannelId channelId) |
Enable the channel with the channel number. More... | |
IFX_INLINE void | IfxSent_enableModule (Ifx_SENT *sent) |
Enable the SENT module. More... | |
IFX_INLINE void | IfxSent_setSleepMode (Ifx_SENT *sent, IfxSent_SleepMode mode) |
Sets the sensitivity of the module to sleep signal. More... | |
IFX_EXTERN void | IfxSent_resetModule (Ifx_SENT *sent) |
Resets the SENT module. More... | |
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... | |
IFX_INLINE void | IfxSent_initSentPin (const IfxSent_Sent_In *sentIn, IfxPort_InputMode inputMode) |
Initializes a SENT input. More... | |
IFX_INLINE void | IfxSent_initSpcPin (const IfxSent_Spc_Out *spcOut, IfxPort_OutputMode spcOutMode, IfxPort_PadDriver padDriver) |
Initializes a SPC output. More... | |
IFX_EXTERN float32 | IfxSent_getChannelUnitTime (Ifx_SENT *sent, IfxSent_ChannelId channelId) |
Returns the current unit time (f_tick) of the given channel. More... | |
SENT basic functionality.
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.h.
IFX_EXTERN float32 IfxSent_getChannelUnitTime | ( | Ifx_SENT * | sent, |
IfxSent_ChannelId | channelId | ||
) |