iLLD_TC27xD  1.0
Utility Functions
Collaboration diagram for Utility Functions:

Functions

IFX_INLINE boolean IfxAsclin_getBreakDetectedFlagStatus (Ifx_ASCLIN *asclin)
 Returns the break detected flag status. More...
 
IFX_INLINE uint8 IfxAsclin_getClockSource (Ifx_ASCLIN *asclin)
 Returns the clock source. More...
 
IFX_INLINE boolean IfxAsclin_getClockStatus (Ifx_ASCLIN *asclin)
 Returns the clock status. More...
 
IFX_INLINE boolean IfxAsclin_getCollisionDetectionErrorFlagStatus (Ifx_ASCLIN *asclin)
 Returns the collision detection error flag status. More...
 
IFX_INLINE boolean IfxAsclin_getFallingEdgeDetectedFlagStatus (Ifx_ASCLIN *asclin)
 Returns the falling edge detected flag status. More...
 
IFX_INLINE boolean IfxAsclin_getFrameErrorFlagStatus (Ifx_ASCLIN *asclin)
 Returns the frame error flag status. More...
 
IFX_INLINE boolean IfxAsclin_getHeaderTimeoutFlagStatus (Ifx_ASCLIN *asclin)
 Returns the header timeout flag status. More...
 
IFX_INLINE boolean IfxAsclin_getKernelResetStatus (Ifx_ASCLIN *asclin)
 Returns the kernel reset status. More...
 
IFX_INLINE boolean IfxAsclin_getLinAutoBaudDetectionErrorFlagStatus (Ifx_ASCLIN *asclin)
 Returns the LIN auto baudrate detection error flag status. More...
 
IFX_INLINE boolean IfxAsclin_getLinChecksumErrorFlagStatus (Ifx_ASCLIN *asclin)
 Returns the LIN checksum error flag status. More...
 
IFX_INLINE boolean IfxAsclin_getLinParityErrorFlagStatus (Ifx_ASCLIN *asclin)
 Returns the LIN parity error flag status. More...
 
IFX_INLINE boolean IfxAsclin_getModuleStatus (Ifx_ASCLIN *asclin)
 Returns the module status. More...
 
IFX_INLINE boolean IfxAsclin_getParityErrorFlagStatus (Ifx_ASCLIN *asclin)
 Returns the parity error flag status. More...
 
IFX_INLINE uint16 IfxAsclin_getPrescaler (Ifx_ASCLIN *asclin)
 Returns the division ratio of the predivider (prescaler) More...
 
IFX_INLINE boolean IfxAsclin_getRaisingEdgeDetectedFlagStatus (Ifx_ASCLIN *asclin)
 Returns the raising edge detected flag status. More...
 
IFX_INLINE boolean IfxAsclin_getReceiveSignalStatus (Ifx_ASCLIN *asclin)
 Returns the received signal status. More...
 
IFX_INLINE boolean IfxAsclin_getResponseTimeoutFlagStatus (Ifx_ASCLIN *asclin)
 Returns the response timeout flag status. More...
 
IFX_INLINE uint8 IfxAsclin_getRxFifoFillLevel (Ifx_ASCLIN *asclin)
 Returns the current filling level of Tx FIFO. More...
 
IFX_INLINE boolean IfxAsclin_getRxFifoFillLevelFlagStatus (Ifx_ASCLIN *asclin)
 Returns the Rx FIFO level flag status. More...
 
IFX_INLINE uint8 IfxAsclin_getRxFifoOutletWidth (Ifx_ASCLIN *asclin)
 Returns the receive FIFO inlet width. More...
 
IFX_INLINE boolean IfxAsclin_getRxFifoOverflowFlagStatus (Ifx_ASCLIN *asclin)
 Returns the Rx FIFO overflow flag status. More...
 
IFX_INLINE boolean IfxAsclin_getRxFifoUnderflowFlagStatus (Ifx_ASCLIN *asclin)
 Returns the Rx FIFO underflow flag status. More...
 
IFX_INLINE boolean IfxAsclin_getRxHeaderEndFlagStatus (Ifx_ASCLIN *asclin)
 Returns the receive header end flag status. More...
 
IFX_INLINE boolean IfxAsclin_getRxResponseEndFlagStatus (Ifx_ASCLIN *asclin)
 Returns the receive response end flag status. More...
 
IFX_INLINE boolean IfxAsclin_getTransmissionCompletedFlagStatus (Ifx_ASCLIN *asclin)
 Returns the transmission pending flag status. More...
 
IFX_INLINE boolean IfxAsclin_getTransmitSignalStatus (Ifx_ASCLIN *asclin)
 Returns the transmit signal status. More...
 
IFX_INLINE uint8 IfxAsclin_getTxFifoFillLevel (Ifx_ASCLIN *asclin)
 Returns the current filling level of Tx FIFO. More...
 
IFX_INLINE boolean IfxAsclin_getTxFifoFillLevelFlagStatus (Ifx_ASCLIN *asclin)
 Returns the Tx FIFO level flag status. More...
 
IFX_INLINE uint8 IfxAsclin_getTxFifoInletWidth (Ifx_ASCLIN *asclin)
 Returns the transmit FIFO inlet width. More...
 
IFX_INLINE boolean IfxAsclin_getTxFifoOverflowFlagStatus (Ifx_ASCLIN *asclin)
 Returns the Tx FIFO overflow flag status. More...
 
IFX_INLINE boolean IfxAsclin_getTxHeaderEndFlagStatus (Ifx_ASCLIN *asclin)
 Returns the transmit header end flag status. More...
 
IFX_INLINE boolean IfxAsclin_getTxResponseEndFlagStatus (Ifx_ASCLIN *asclin)
 Returns the transmit response end flag status. More...
 
IFX_INLINE void IfxAsclin_setSleepMode (Ifx_ASCLIN *asclin, IfxAsclin_SleepMode mode)
 Sets the sensitivity of the module to sleep signal. More...
 
IFX_EXTERN float32 IfxAsclin_getFaFrequency (Ifx_ASCLIN *asclin)
 Returns the ASCLIN module FA frequency in Hz. More...
 
IFX_EXTERN float32 IfxAsclin_getOvsFrequency (Ifx_ASCLIN *asclin)
 Returns the OVS frequency. More...
 
IFX_EXTERN float32 IfxAsclin_getPdFrequency (Ifx_ASCLIN *asclin)
 Returns the PD frequency. More...
 
IFX_EXTERN float32 IfxAsclin_getShiftFrequency (Ifx_ASCLIN *asclin)
 Returns the SHIFT frequency. More...
 
IFX_EXTERN void IfxAsclin_resetModule (Ifx_ASCLIN *asclin)
 resets Asclin kernel More...
 

Detailed Description

Function Documentation

IFX_INLINE boolean IfxAsclin_getBreakDetectedFlagStatus ( Ifx_ASCLIN *  asclin)

Returns the break detected flag status.

Parameters
asclinpointer to ASCLIN registers
Returns
break detected flag status

Definition at line 1862 of file IfxAsclin.h.

Referenced by IfxAsclin_Lin_checkForReceivedResponseFlags(), and IfxAsclin_Lin_checkForTransmittedResponseFlags().

IFX_INLINE uint8 IfxAsclin_getClockSource ( Ifx_ASCLIN *  asclin)

Returns the clock source.

Parameters
asclinpointer to ASCLIN registers
Returns
clock source

Definition at line 1868 of file IfxAsclin.h.

Referenced by IfxAsclin_getFaFrequency(), IfxAsclin_setBaudrateBitFields(), and IfxAsclin_setBitTiming().

IFX_INLINE boolean IfxAsclin_getClockStatus ( Ifx_ASCLIN *  asclin)

Returns the clock status.

Parameters
asclinpointer to ASCLIN registers
Returns
clock status (off / on)

Definition at line 1874 of file IfxAsclin.h.

Referenced by IfxAsclin_setClockSource().

IFX_INLINE boolean IfxAsclin_getCollisionDetectionErrorFlagStatus ( Ifx_ASCLIN *  asclin)

Returns the collision detection error flag status.

Parameters
asclinpointer to ASCLIN registers
Returns
collision detection error flag status

Definition at line 1880 of file IfxAsclin.h.

Referenced by IfxAsclin_Lin_checkForReceivedHeaderFlags(), IfxAsclin_Lin_checkForReceivedResponseFlags(), IfxAsclin_Lin_checkForTransmittedHeaderFlags(), and IfxAsclin_Lin_checkForTransmittedResponseFlags().

IFX_EXTERN float32 IfxAsclin_getFaFrequency ( Ifx_ASCLIN *  asclin)

Returns the ASCLIN module FA frequency in Hz.

Parameters
asclinpointer to ASCLIN registers
Returns
Returns the ASCLIN module FA frequency in Hz

Definition at line 51 of file IfxAsclin.c.

Referenced by IfxAsclin_getPdFrequency().

IFX_INLINE boolean IfxAsclin_getFallingEdgeDetectedFlagStatus ( Ifx_ASCLIN *  asclin)

Returns the falling edge detected flag status.

Parameters
asclinpointer to ASCLIN registers
Returns
falling edge detected flag status

Definition at line 1886 of file IfxAsclin.h.

IFX_INLINE boolean IfxAsclin_getFrameErrorFlagStatus ( Ifx_ASCLIN *  asclin)

Returns the frame error flag status.

Parameters
asclinpointer to ASCLIN registers
Returns
frame error flag status

Definition at line 1892 of file IfxAsclin.h.

Referenced by IfxAsclin_Asc_isrError(), IfxAsclin_Lin_checkForReceivedHeaderFlags(), IfxAsclin_Lin_checkForReceivedResponseFlags(), IfxAsclin_Lin_checkForTransmittedHeaderFlags(), and IfxAsclin_Spi_isrError().

IFX_INLINE boolean IfxAsclin_getHeaderTimeoutFlagStatus ( Ifx_ASCLIN *  asclin)

Returns the header timeout flag status.

Parameters
asclinpointer to ASCLIN registers
Returns
header timeout flag status

Definition at line 1898 of file IfxAsclin.h.

Referenced by IfxAsclin_Lin_checkForReceivedHeaderFlags(), and IfxAsclin_Lin_checkForTransmittedHeaderFlags().

IFX_INLINE boolean IfxAsclin_getKernelResetStatus ( Ifx_ASCLIN *  asclin)

Returns the kernel reset status.

Parameters
asclinpointer to ASCLIN registers
Returns
kernel reset status

Definition at line 1904 of file IfxAsclin.h.

IFX_INLINE boolean IfxAsclin_getLinAutoBaudDetectionErrorFlagStatus ( Ifx_ASCLIN *  asclin)

Returns the LIN auto baudrate detection error flag status.

Parameters
asclinpointer to ASCLIN registers
Returns
LIN auto baudrate detection error flag status

Definition at line 1910 of file IfxAsclin.h.

Referenced by IfxAsclin_Lin_checkForReceivedHeaderFlags().

IFX_INLINE boolean IfxAsclin_getLinChecksumErrorFlagStatus ( Ifx_ASCLIN *  asclin)

Returns the LIN checksum error flag status.

Parameters
asclinpointer to ASCLIN registers
Returns
LIN checksum error flag status

Definition at line 1916 of file IfxAsclin.h.

Referenced by IfxAsclin_Lin_checkForReceivedResponseFlags().

IFX_INLINE boolean IfxAsclin_getLinParityErrorFlagStatus ( Ifx_ASCLIN *  asclin)

Returns the LIN parity error flag status.

Parameters
asclinpointer to ASCLIN registers
Returns
LIN parity error flag status

Definition at line 1922 of file IfxAsclin.h.

Referenced by IfxAsclin_Lin_checkForReceivedHeaderFlags(), and IfxAsclin_Lin_checkForTransmittedHeaderFlags().

IFX_INLINE boolean IfxAsclin_getModuleStatus ( Ifx_ASCLIN *  asclin)

Returns the module status.

Parameters
asclinpointer to ASCLIN registers
Returns
module status (enabled / disabled)

Definition at line 1928 of file IfxAsclin.h.

IFX_EXTERN float32 IfxAsclin_getOvsFrequency ( Ifx_ASCLIN *  asclin)

Returns the OVS frequency.

Parameters
asclinpointer to ASCLIN registers
Returns
Returns the ASCLIN module OVS frequency in Hz

Definition at line 95 of file IfxAsclin.c.

Referenced by IfxAsclin_getShiftFrequency().

IFX_INLINE boolean IfxAsclin_getParityErrorFlagStatus ( Ifx_ASCLIN *  asclin)

Returns the parity error flag status.

Parameters
asclinpointer to ASCLIN registers
Returns
parity error flag status

Definition at line 1934 of file IfxAsclin.h.

Referenced by IfxAsclin_Asc_isrError().

IFX_EXTERN float32 IfxAsclin_getPdFrequency ( Ifx_ASCLIN *  asclin)

Returns the PD frequency.

Parameters
asclinpointer to ASCLIN registers
Returns
Returns the ASCLIN module PD frequency in Hz

Definition at line 101 of file IfxAsclin.c.

Referenced by IfxAsclin_getOvsFrequency(), and IfxAsclin_setBitTiming().

IFX_INLINE uint16 IfxAsclin_getPrescaler ( Ifx_ASCLIN *  asclin)

Returns the division ratio of the predivider (prescaler)

Parameters
asclinpointer to ASCLIN registers
Returns
value of prescaler

Definition at line 1940 of file IfxAsclin.h.

IFX_INLINE boolean IfxAsclin_getRaisingEdgeDetectedFlagStatus ( Ifx_ASCLIN *  asclin)

Returns the raising edge detected flag status.

Parameters
asclinpointer to ASCLIN registers
Returns
raising edge detected flag status

Definition at line 1946 of file IfxAsclin.h.

IFX_INLINE boolean IfxAsclin_getReceiveSignalStatus ( Ifx_ASCLIN *  asclin)

Returns the received signal status.

Parameters
asclinpointer to ASCLIN registers
Returns
received signal status (0 is low & 1 is high)

Definition at line 1952 of file IfxAsclin.h.

IFX_INLINE boolean IfxAsclin_getResponseTimeoutFlagStatus ( Ifx_ASCLIN *  asclin)

Returns the response timeout flag status.

Parameters
asclinpointer to ASCLIN registers
Returns
response timeout flag status

Definition at line 1958 of file IfxAsclin.h.

Referenced by IfxAsclin_Lin_checkForReceivedResponseFlags(), and IfxAsclin_Lin_checkForTransmittedResponseFlags().

IFX_INLINE uint8 IfxAsclin_getRxFifoFillLevel ( Ifx_ASCLIN *  asclin)

Returns the current filling level of Tx FIFO.

Parameters
asclinpointer to ASCLIN registers
Returns
current filling level of Rx FIFO

Definition at line 1964 of file IfxAsclin.h.

Referenced by IfxAsclin_Spi_read().

IFX_INLINE boolean IfxAsclin_getRxFifoFillLevelFlagStatus ( Ifx_ASCLIN *  asclin)

Returns the Rx FIFO level flag status.

Parameters
asclinpointer to ASCLIN registers
Returns
Rx FIFO level flag status

Definition at line 1970 of file IfxAsclin.h.

IFX_INLINE uint8 IfxAsclin_getRxFifoOutletWidth ( Ifx_ASCLIN *  asclin)

Returns the receive FIFO inlet width.

Parameters
asclinpointer to ASCLIN registers
Returns
number of bytes read to the Rx FIFO with one FPI bus read

Definition at line 1976 of file IfxAsclin.h.

IFX_INLINE boolean IfxAsclin_getRxFifoOverflowFlagStatus ( Ifx_ASCLIN *  asclin)

Returns the Rx FIFO overflow flag status.

Parameters
asclinpointer to ASCLIN registers
Returns
Rx FIFO overflow flag status

Definition at line 1982 of file IfxAsclin.h.

Referenced by IfxAsclin_Asc_isrError(), IfxAsclin_Lin_checkForReceivedResponseFlags(), and IfxAsclin_Spi_isrError().

IFX_INLINE boolean IfxAsclin_getRxFifoUnderflowFlagStatus ( Ifx_ASCLIN *  asclin)

Returns the Rx FIFO underflow flag status.

Parameters
asclinpointer to ASCLIN registers
Returns
Rx FIFO underflow flag status

Definition at line 1988 of file IfxAsclin.h.

Referenced by IfxAsclin_Asc_isrError(), and IfxAsclin_Spi_isrError().

IFX_INLINE boolean IfxAsclin_getRxHeaderEndFlagStatus ( Ifx_ASCLIN *  asclin)

Returns the receive header end flag status.

Parameters
asclinpointer to ASCLIN registers
Returns
receive header end flag status

Definition at line 1994 of file IfxAsclin.h.

Referenced by IfxAsclin_Lin_checkForReceivedHeaderFlags().

IFX_INLINE boolean IfxAsclin_getRxResponseEndFlagStatus ( Ifx_ASCLIN *  asclin)

Returns the receive response end flag status.

Parameters
asclinpointer to ASCLIN registers
Returns
receive response end flag status

Definition at line 2000 of file IfxAsclin.h.

Referenced by IfxAsclin_Lin_checkForReceivedResponseFlags().

IFX_EXTERN float32 IfxAsclin_getShiftFrequency ( Ifx_ASCLIN *  asclin)

Returns the SHIFT frequency.

Parameters
asclinpointer to ASCLIN registers
Returns
Returns the ASCLIN module SHIFT frequency in Hz

Definition at line 107 of file IfxAsclin.c.

IFX_INLINE boolean IfxAsclin_getTransmissionCompletedFlagStatus ( Ifx_ASCLIN *  asclin)

Returns the transmission pending flag status.

Parameters
asclinpointer to ASCLIN registers
Returns
transmission pending flag status

Definition at line 2006 of file IfxAsclin.h.

IFX_INLINE boolean IfxAsclin_getTransmitSignalStatus ( Ifx_ASCLIN *  asclin)

Returns the transmit signal status.

Parameters
asclinpointer to ASCLIN registers
Returns
transmit signal status (0 is low & 1 is high)

Definition at line 2012 of file IfxAsclin.h.

IFX_INLINE uint8 IfxAsclin_getTxFifoFillLevel ( Ifx_ASCLIN *  asclin)

Returns the current filling level of Tx FIFO.

Parameters
asclinpointer to ASCLIN registers
Returns
current filling level of Tx FIFO

Definition at line 2018 of file IfxAsclin.h.

Referenced by IfxAsclin_Asc_flushTx(), and IfxAsclin_Spi_write().

IFX_INLINE boolean IfxAsclin_getTxFifoFillLevelFlagStatus ( Ifx_ASCLIN *  asclin)

Returns the Tx FIFO level flag status.

Parameters
asclinpointer to ASCLIN registers
Returns
Tx FIFO level flag status

Definition at line 2024 of file IfxAsclin.h.

IFX_INLINE uint8 IfxAsclin_getTxFifoInletWidth ( Ifx_ASCLIN *  asclin)

Returns the transmit FIFO inlet width.

Parameters
asclinpointer to ASCLIN registers
Returns
number of bytes written to the Tx FIFO with one FPI bus write

Definition at line 2030 of file IfxAsclin.h.

IFX_INLINE boolean IfxAsclin_getTxFifoOverflowFlagStatus ( Ifx_ASCLIN *  asclin)

Returns the Tx FIFO overflow flag status.

Parameters
asclinpointer to ASCLIN registers
Returns
Tx FIFO overflow flag status

Definition at line 2036 of file IfxAsclin.h.

Referenced by IfxAsclin_Asc_isrError(), IfxAsclin_Lin_checkForTransmittedResponseFlags(), and IfxAsclin_Spi_isrError().

IFX_INLINE boolean IfxAsclin_getTxHeaderEndFlagStatus ( Ifx_ASCLIN *  asclin)

Returns the transmit header end flag status.

Parameters
asclinpointer to ASCLIN registers
Returns
transmit header end flag status

Definition at line 2042 of file IfxAsclin.h.

Referenced by IfxAsclin_Lin_checkForTransmittedHeaderFlags().

IFX_INLINE boolean IfxAsclin_getTxResponseEndFlagStatus ( Ifx_ASCLIN *  asclin)

Returns the transmit response end flag status.

Parameters
asclinpointer to ASCLIN registers
Returns
transmit response end flag status

Definition at line 2048 of file IfxAsclin.h.

Referenced by IfxAsclin_Lin_checkForTransmittedResponseFlags().

IFX_EXTERN void IfxAsclin_resetModule ( Ifx_ASCLIN *  asclin)

resets Asclin kernel

Parameters
asclinpointer to ASCLIN resgisters
Returns
None

Definition at line 330 of file IfxAsclin.c.

IFX_INLINE void IfxAsclin_setSleepMode ( Ifx_ASCLIN *  asclin,
IfxAsclin_SleepMode  mode 
)

Sets the sensitivity of the module to sleep signal.

Parameters
asclinpointer to ASCLIN registers
modemode selection (enable / disable)
Returns
None

Definition at line 2313 of file IfxAsclin.h.