iLLD_TC27xC  1.0
IfxPsi5s.h File Reference

PSI5S basic functionality. More...

Go to the source code of this file.

Enumerations

enum  IfxPsi5s_AlternateInput {
  IfxPsi5s_AlternateInput_0 = 0,
  IfxPsi5s_AlternateInput_1,
  IfxPsi5s_AlternateInput_2,
  IfxPsi5s_AlternateInput_3
}
 MODULE_PSI5S.IOCR.ALTI:Alternate input. More...
 
enum  IfxPsi5s_AscBaudratePrescalar {
  IfxPsi5s_AscBaudratePrescalar_divideBy2 = 0,
  IfxPsi5s_AscBaudratePrescalar_divideBy3 = 1
}
 MODULE_PSI5S.BG.BR_VALUE:Baudrate prescalar select. More...
 
enum  IfxPsi5s_AscMode {
  IfxPsi5s_AscMode_sync = 0,
  IfxPsi5s_AscMode_async_8bitData = 1,
  IfxPsi5s_AscMode_async_7bitDataWithParity = 3,
  IfxPsi5s_AscMode_async_9bitData = 4,
  IfxPsi5s_AscMode_async_8bitDataWithWakeup = 5,
  IfxPsi5s_AscMode_async_8bitDataWithParity = 7
}
 MODULE_PSI5S.CON.M:ASC mode of operation. More...
 
enum  IfxPsi5s_AscStopBits {
  IfxPsi5s_AscStopBits_1 = 0,
  IfxPsi5s_AscStopBits_2
}
 MODULE_PSI5S.CON.STP: Number of stop bits. More...
 
enum  IfxPsi5s_ChannelId {
  IfxPsi5s_ChannelId_0 = 0,
  IfxPsi5s_ChannelId_1,
  IfxPsi5s_ChannelId_2,
  IfxPsi5s_ChannelId_3,
  IfxPsi5s_ChannelId_4,
  IfxPsi5s_ChannelId_5,
  IfxPsi5s_ChannelId_6,
  IfxPsi5s_ChannelId_7,
  IfxPsi5s_ChannelId_none = -1
}
 PSI5S Channel Id defined in MODULE_PSI5S.RDS.B.CID. More...
 
enum  IfxPsi5s_ClockType {
  IfxPsi5s_ClockType_fracDiv = 0,
  IfxPsi5s_ClockType_timeStamp = 1,
  IfxPsi5s_ClockType_ascFracDiv = 2,
  IfxPsi5s_ClockType_ascOutput = 3
}
 Clock Selection. More...
 
enum  IfxPsi5s_CrcOrParity {
  IfxPsi5s_CrcOrParity_parity = 0,
  IfxPsi5s_CrcOrParity_crc = 1
}
 MODULE_PSI5S.RCRAx.CRCy(x= 0,1,..7:y=0,1,..,5),MODULE_PSI5S.RCRBx.CRCy(x= 0,1,..7:y=0,1,..,5)CRC or parity. More...
 
enum  IfxPsi5s_DividerMode {
  IfxPsi5s_DividerMode_spb = 0,
  IfxPsi5s_DividerMode_normal = 1,
  IfxPsi5s_DividerMode_fractional = 2,
  IfxPsi5s_DividerMode_off = 3
}
 MODULE_PSI5S.FDR.DM;MODULE_PSI5S.FDRT.B.DM:Divider mode. More...
 
enum  IfxPsi5s_EnhancedProtocol {
  IfxPsi5s_EnhancedProtocol_toothGapMethod = 0,
  IfxPsi5s_EnhancedProtocol_pulseWidth_frameFormat_1to3 = 1,
  IfxPsi5s_EnhancedProtocol_pulseWidth_frameFormat_4 = 3
}
 MODULE_PSI5S.SCRx.EPS(x=0,1,...,7):Enhanced protocol types. More...
 
enum  IfxPsi5s_FrameId {
  IfxPsi5s_FrameId_frameHeader = 0,
  IfxPsi5s_FrameId_rollingNumber = 1
}
 MODULE_PSI5S.RCRAx.FIDS(x=0,1,....,7):.Frame ID updation. More...
 
enum  IfxPsi5s_IdleTime {
  IfxPsi5s_IdleTime_1 = 0,
  IfxPsi5s_IdleTime_2,
  IfxPsi5s_IdleTime_3,
  IfxPsi5s_IdleTime_4,
  IfxPsi5s_IdleTime_5,
  IfxPsi5s_IdleTime_6,
  IfxPsi5s_IdleTime_7,
  IfxPsi5s_IdleTime_8,
  IfxPsi5s_IdleTime_9,
  IfxPsi5s_IdleTime_10,
  IfxPsi5s_IdleTime_11,
  IfxPsi5s_IdleTime_12,
  IfxPsi5s_IdleTime_13,
  IfxPsi5s_IdleTime_14,
  IfxPsi5s_IdleTime_15,
  IfxPsi5s_IdleTime_16
}
 MODULE_PSI5S.GCR.IDT:Idle time bit count. More...
 
enum  IfxPsi5s_MessagingBits {
  IfxPsi5s_MessagingBits_absent = 0,
  IfxPsi5s_MessagingBits_present = 1
}
 Messaging bits presence. More...
 
enum  IfxPsi5s_NumberExpectedFrames {
  IfxPsi5s_NumberExpectedFrames_1 = 1,
  IfxPsi5s_NumberExpectedFrames_2,
  IfxPsi5s_NumberExpectedFrames_3,
  IfxPsi5s_NumberExpectedFrames_4,
  IfxPsi5s_NumberExpectedFrames_5,
  IfxPsi5s_NumberExpectedFrames_6
}
 MODULE_PSI5S.NFC.NFx:Expected Psi5s frames. More...
 
enum  IfxPsi5s_TimeBase {
  IfxPsi5s_TimeBase_internal = 0,
  IfxPsi5s_TimeBase_external = 1
}
 MODULE_PSI5S.TSCNTA.B.TBS;MODULE_PSI5S.TSCNTB.B.TBS:Time base. More...
 
enum  IfxPsi5s_TimestampRegister {
  IfxPsi5s_TimestampRegister_a = 0,
  IfxPsi5s_TimestampRegister_b = 1
}
 MODULE_PSI5S.TSCNTx(x= A,B):Timestamp register. More...
 
enum  IfxPsi5s_TimestampTrigger {
  IfxPsi5s_TimestampTrigger_syncPulse = 0,
  IfxPsi5s_TimestampTrigger_frame = 1
}
 MODULE_PSI5S.RCRAx.TSTS:Timestamp trigger. More...
 
enum  IfxPsi5s_Trigger {
  IfxPsi5s_Trigger_0 = 0,
  IfxPsi5s_Trigger_1,
  IfxPsi5s_Trigger_2,
  IfxPsi5s_Trigger_3,
  IfxPsi5s_Trigger_4,
  IfxPsi5s_Trigger_5,
  IfxPsi5s_Trigger_6,
  IfxPsi5s_Trigger_7
}
 MODULE_PSI5S.TSCNTA.B.ETB;MODULE_PSI5S.TSCNTB.B.ETB:Trigger Id. More...
 
enum  IfxPsi5s_TriggerType {
  IfxPsi5s_TriggerType_periodic = 0,
  IfxPsi5s_TriggerType_external = 1
}
 Trigger type defined in. More...
 
enum  IfxPsi5s_UartFrameCount {
  IfxPsi5s_UartFrameCount_3 = 0,
  IfxPsi5s_UartFrameCount_4,
  IfxPsi5s_UartFrameCount_5,
  IfxPsi5s_UartFrameCount_6
}
 MODULE_PSI5S.RCRAx.UFCY(x=0,1,...7;y=0,1...5):UART frame count. More...
 
enum  IfxPsi5s_WatchdogTimerMode {
  IfxPsi5s_WatchdogTimerMode_frame = 0,
  IfxPsi5s_WatchdogTimerMode_syncPulse = 1
}
 MODULE_PSI5S.RCRAx.WDMS:Watchdog timer mode. More...
 

Functions

IFX_EXTERN void IfxPsi5s_enableAscReceiver (Ifx_PSI5S *psi5s)
 Enable ASC receiver. More...
 
IFX_EXTERN void IfxPsi5s_enableDisableChannelTriggerCounters (Ifx_PSI5S *psi5s, uint32 channels, uint32 mask)
 Enable/disable any combination of channel trigger counters selected by mask parameter. More...
 
IFX_EXTERN void IfxPsi5s_enableDisableChannels (Ifx_PSI5S *psi5s, uint32 channels, uint32 mask)
 Enable/disable any combination of channels selected by mask parameter. More...
 
IFX_EXTERN void IfxPsi5s_startAscTransactions (Ifx_PSI5S *psi5s)
 Start ASC transactions. More...
 
IFX_INLINE void IfxPsi5s_setRxInput (Ifx_PSI5S *psi5s, IfxPsi5s_AlternateInput alti)
 Selects the alternate input for Rx signal. More...
 
IFX_INLINE void IfxPsi5s_initRxPin (const IfxPsi5s_Rx_In *rx, IfxPort_InputMode inputMode)
 Initializes a RX input. More...
 
IFX_INLINE void IfxPsi5s_initSclkPin (const IfxPsi5s_Sclk_Out *sclk, IfxPort_OutputMode outputMode, IfxPort_PadDriver padDriver)
 Initializes a SCLK output. More...
 
IFX_INLINE void IfxPsi5s_initTxPin (const IfxPsi5s_Tx_Out *tx, IfxPort_OutputMode outputMode, IfxPort_PadDriver padDriver)
 Initializes a TX output. More...
 

Detailed Description

PSI5S basic functionality.

Version
iLLD_0_1_0_10
                            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 IfxPsi5s.h.