iLLD_TC27xD  1.0
IfxPsi5.h File Reference

PSI5 basic functionality. More...

#include "_Impl/IfxPsi5_cfg.h"
#include "_PinMap/IfxPsi5_PinMap.h"
#include "IfxPsi5_reg.h"
#include "Scu/Std/IfxScuWdt.h"
#include "Cpu/Std/IfxCpu_Intrinsics.h"
#include "Src/Std/IfxSrc.h"

Go to the source code of this file.

Enumerations

enum  IfxPsi5_AlternateInput {
  IfxPsi5_AlternateInput_0 = 0,
  IfxPsi5_AlternateInput_1,
  IfxPsi5_AlternateInput_2,
  IfxPsi5_AlternateInput_3
}
 MODULE_PSI5.IOCRx.ALTI(x = 0,1,2),Alternate input selection. More...
 
enum  IfxPsi5_BaudRate {
  IfxPsi5_BaudRate_125 = 0,
  IfxPsi5_BaudRate_189 = 1
}
 MODULE_PSI5.RCRCx.BRS(x = 0,1,2),Baud rate selection. More...
 
enum  IfxPsi5_CRCorParity {
  IfxPsi5_CRCorParity_parity = 0,
  IfxPsi5_CRCorParity_crc = 1
}
 MODULE_PSI5.RCRBx.CRCy(x = 0,1,2; y=0,1,2,3,4,5),CRC or parity selection. More...
 
enum  IfxPsi5_ClockType {
  IfxPsi5_ClockType_fracDiv = 0,
  IfxPsi5_ClockType_slowClock_125 = 1,
  IfxPsi5_ClockType_fastClock_189 = 2,
  IfxPsi5_ClockType_timeStamp = 3
}
 Clock type. More...
 
enum  IfxPsi5_DigitalInputFilterDepth {
  IfxPsi5_DigitalInputFilterDepth_0 = 0,
  IfxPsi5_DigitalInputFilterDepth_1,
  IfxPsi5_DigitalInputFilterDepth_2,
  IfxPsi5_DigitalInputFilterDepth_3,
  IfxPsi5_DigitalInputFilterDepth_4,
  IfxPsi5_DigitalInputFilterDepth_5,
  IfxPsi5_DigitalInputFilterDepth_6,
  IfxPsi5_DigitalInputFilterDepth_7,
  IfxPsi5_DigitalInputFilterDepth_8,
  IfxPsi5_DigitalInputFilterDepth_9,
  IfxPsi5_DigitalInputFilterDepth_10,
  IfxPsi5_DigitalInputFilterDepth_11,
  IfxPsi5_DigitalInputFilterDepth_12,
  IfxPsi5_DigitalInputFilterDepth_13,
  IfxPsi5_DigitalInputFilterDepth_14,
  IfxPsi5_DigitalInputFilterDepth_15
}
 MODULE_PSI5.IOCRx.DEPTH(x = 0,1,2),Digital input filter depth. More...
 
enum  IfxPsi5_DividerMode {
  IfxPsi5_DividerMode_spb = 0,
  IfxPsi5_DividerMode_normal = 1,
  IfxPsi5_DividerMode_fractional = 2,
  IfxPsi5_DividerMode_off = 3
}
 MODULE_PSI5.FDR.DM,Divider mode. More...
 
enum  IfxPsi5_FrameExpectation {
  IfxPsi5_FrameExpectation_notExpected = 0,
  IfxPsi5_FrameExpectation_expected = 1
}
 MODULE_PSI5.RCRBx.FECy(x = 0,1,2; y=0,1,2,3,4,5),Frame expectation control. More...
 
enum  IfxPsi5_MessagingBits {
  IfxPsi5_MessagingBits_absent = 0,
  IfxPsi5_MessagingBits_present = 1
}
 MODULE_PSI5.RCRBx.MSGy(x = 0,1,2; y=0,1,2,3,4,5),Messaging bits presence. More...
 
enum  IfxPsi5_ReceiveDataRegisterTimestamp {
  IfxPsi5_ReceiveDataRegisterTimestamp_pulse = 0,
  IfxPsi5_ReceiveDataRegisterTimestamp_frame = 1
}
 MODULE_PSI5.RCRCx.TSR(x = 0,1,2),Timestamp select for receive data registers. More...
 
enum  IfxPsi5_Slot {
  IfxPsi5_Slot_0 = 0,
  IfxPsi5_Slot_1,
  IfxPsi5_Slot_2,
  IfxPsi5_Slot_3,
  IfxPsi5_Slot_4,
  IfxPsi5_Slot_5
}
 MODULE_PSI5.RDRHx.SC(x = 0-2),Slot Id. More...
 
enum  IfxPsi5_TimeBase {
  IfxPsi5_TimeBase_internal = 0,
  IfxPsi5_TimeBase_external = 1
}
 MODULE_PSI5.PGCx.TBS(x = 0,1,2),Time base. More...
 
enum  IfxPsi5_TimestampRegister {
  IfxPsi5_TimestampRegister_a = 0,
  IfxPsi5_TimestampRegister_b = 1,
  IfxPsi5_TimestampRegister_c = 2
}
 MODULE_PSI5.RCRCx.TSP(x = 0,1,2),MODULE_PSI5.RCRCx.TSF(x = 0,1,2)Timestamp register type. More...
 
enum  IfxPsi5_Trigger {
  IfxPsi5_Trigger_0 = 0,
  IfxPsi5_Trigger_1,
  IfxPsi5_Trigger_2,
  IfxPsi5_Trigger_3,
  IfxPsi5_Trigger_4,
  IfxPsi5_Trigger_5
}
 MODULE_PSI5.PGCx.ETS(x = 0,1,2),Trigger Id. More...
 
enum  IfxPsi5_TriggerType {
  IfxPsi5_TriggerType_periodic = 0,
  IfxPsi5_TriggerType_external = 1,
  IfxPsi5_TriggerType_bypass = 2
}
 Trigger type. More...
 
enum  IfxPsi5_Verbose {
  IfxPsi5_Verbose_off = 0,
  IfxPsi5_Verbose_on = 1
}
 MODULE_PSI5.RCRBx.VBSy(x = 0,1,2; y=0,1,2,3,4,5),Verbose mode. More...
 

Functions

IFX_INLINE uint32 IfxPsi5_getStatusCrci (Ifx_PSI5 *psi5, IfxPsi5_ChannelId channel)
 access function to get the CRCI status register contents for a channel More...
 
IFX_INLINE uint32 IfxPsi5_getStatusMei (Ifx_PSI5 *psi5, IfxPsi5_ChannelId channel)
 access function to get the MEI status register contents for a channel More...
 
IFX_INLINE uint32 IfxPsi5_getStatusNbi (Ifx_PSI5 *psi5, IfxPsi5_ChannelId channel)
 access function to get the NBI status register contents for a channel More...
 
IFX_INLINE uint32 IfxPsi5_getStatusNfi (Ifx_PSI5 *psi5, IfxPsi5_ChannelId channel)
 access function to get the NFI status register contents for a channel More...
 
IFX_INLINE uint32 IfxPsi5_getStatusRdi (Ifx_PSI5 *psi5, IfxPsi5_ChannelId channel)
 access function to get the RDI status register contents for a channel More...
 
IFX_INLINE uint32 IfxPsi5_getStatusRmi (Ifx_PSI5 *psi5, IfxPsi5_ChannelId channel)
 access function to get the RMI status register contents for a channel More...
 
IFX_INLINE uint32 IfxPsi5_getStatusRsi (Ifx_PSI5 *psi5, IfxPsi5_ChannelId channel)
 access function to get the RSI status register contents for a channel More...
 
IFX_INLINE uint32 IfxPsi5_getStatusTei (Ifx_PSI5 *psi5, IfxPsi5_ChannelId channel)
 access function to get the TEI status register contents for a channel More...
 
IFX_EXTERN void IfxPsi5_resetModule (Ifx_PSI5 *psi5)
 resets PSI5 kernel More...
 
IFX_INLINE void IfxPsi5_initRxPin (const IfxPsi5_Rx_In *rx, IfxPort_InputMode inputMode)
 Initializes a RX input. More...
 
IFX_INLINE void IfxPsi5_initTxPin (const IfxPsi5_Tx_Out *tx, IfxPort_OutputMode outputMode, IfxPort_PadDriver padDriver)
 Initializes a TX output. More...
 
IFX_INLINE void IfxPsi5_setRxInput (Ifx_PSI5_CH *psi5Ch, IfxPsi5_AlternateInput alternateInput)
 Sets the alternate RX input. More...
 

Detailed Description

PSI5 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 IfxPsi5.h.