iLLD_TC27xD  1.0
Configuration Functions
Collaboration diagram for Configuration Functions:

Functions

IFX_INLINE void IfxAsclin_disableAllFlags (Ifx_ASCLIN *asclin)
 disables all flags More...
 
IFX_INLINE void IfxAsclin_enableAutoBaudrateDetection (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables the auto baudrate detection. More...
 
IFX_INLINE void IfxAsclin_enableBreakDetectedFlag (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables break detected flag. More...
 
IFX_INLINE void IfxAsclin_enableCollisionDetection (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables the collision detection. More...
 
IFX_INLINE void IfxAsclin_enableCollisionDetectionErrorFlag (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables LIN collision detection error flag. More...
 
IFX_INLINE void IfxAsclin_enableCts (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables CTS. More...
 
IFX_INLINE void IfxAsclin_enableFallingEdgeDetectedFlag (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables falling edge detected flag. More...
 
IFX_INLINE void IfxAsclin_enableFrameErrorFlag (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables frame error flag. More...
 
IFX_INLINE void IfxAsclin_enableHardwareChecksum (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables the hardware checksum. More...
 
IFX_INLINE void IfxAsclin_enableHeaderTimeoutFlag (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables header timeout flag. More...
 
IFX_INLINE void IfxAsclin_enableLinAutoBaudDetectionErrorFlag (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables LIN auto baudrate detection error flag. More...
 
IFX_INLINE void IfxAsclin_enableLinChecksumErrorFlag (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables LIN checksum error flag. More...
 
IFX_INLINE void IfxAsclin_enableLinParityErrorFlag (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables LIN parity error flag. More...
 
IFX_INLINE void IfxAsclin_enableLoopBackMode (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables the loop back mode. More...
 
IFX_INLINE void IfxAsclin_enableParity (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables the parity bit attachment to tha data bits. More...
 
IFX_INLINE void IfxAsclin_enableParityErrorFlag (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables parity error flag. More...
 
IFX_INLINE void IfxAsclin_enableRaisingEdgeDetectedFlag (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables raising edge detected flag. More...
 
IFX_INLINE void IfxAsclin_enableResponseTimeoutFlag (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables response timeout flag. More...
 
IFX_INLINE void IfxAsclin_enableRxFifoFillLevelFlag (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables Rx FIFO level flag. More...
 
IFX_INLINE void IfxAsclin_enableRxFifoInlet (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables the receive FIFO outlet to allow filling of Rx FIFO through shift register. More...
 
IFX_INLINE void IfxAsclin_enableRxFifoOverflowFlag (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables Rx FIFO overflow flag. More...
 
IFX_INLINE void IfxAsclin_enableRxFifoUnderflowFlag (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables Rx FIFO underflow flag. More...
 
IFX_INLINE void IfxAsclin_enableRxHeaderEndFlag (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables receive header end flag. More...
 
IFX_INLINE void IfxAsclin_enableRxResponseEndFlag (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables receive response end flag. More...
 
IFX_INLINE void IfxAsclin_enableTransmissionCompletedFlag (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables transmission completed flag. More...
 
IFX_INLINE void IfxAsclin_enableTxFifoFillLevelFlag (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables Tx FIFO level flag. More...
 
IFX_INLINE void IfxAsclin_enableTxFifoOutlet (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables the transmit FIFO outlet to allow transmission. More...
 
IFX_INLINE void IfxAsclin_enableTxFifoOverflowFlag (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables Tx FIFO overflow flag. More...
 
IFX_INLINE void IfxAsclin_enableTxHeaderEndFlag (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables transmit header end flag. More...
 
IFX_INLINE void IfxAsclin_enableTxResponseEndFlag (Ifx_ASCLIN *asclin, boolean enable)
 Enables/disables transmit response end flag. More...
 
IFX_INLINE void IfxAsclin_setClockPolarity (Ifx_ASCLIN *asclin, IfxAsclin_ClockPolarity cpol)
 Selects the clock polarity. More...
 
IFX_INLINE void IfxAsclin_setCtsInput (Ifx_ASCLIN *asclin, IfxAsclin_CtsInputSelect ctsi)
 Selects the CTS input pin. More...
 
IFX_INLINE void IfxAsclin_setFrameMode (Ifx_ASCLIN *asclin, IfxAsclin_FrameMode mode)
 Selects the module's mode of operation. More...
 
IFX_INLINE void IfxAsclin_setRtsCtsPolarity (Ifx_ASCLIN *asclin, IfxAsclin_RtsCtsPolarity rcpol)
 Selects the RTS/CTS polarity. More...
 
IFX_INLINE void IfxAsclin_setRxInput (Ifx_ASCLIN *asclin, IfxAsclin_RxInputSelect alti)
 Selects the alternate input for Rx signal. More...
 
IFX_INLINE void IfxAsclin_setSlavePolarity (Ifx_ASCLIN *asclin, IfxAsclin_SlavePolarity spol)
 Selects the slave polarity. More...
 
IFX_EXTERN boolean IfxAsclin_setBitTiming (Ifx_ASCLIN *asclin, float32 baudrate, IfxAsclin_OversamplingFactor oversampling, IfxAsclin_SamplePointPosition samplepoint, IfxAsclin_SamplesPerBit medianFilter)
 Set the bit timing. More...
 

Detailed Description

Function Documentation

IFX_INLINE void IfxAsclin_disableAllFlags ( Ifx_ASCLIN *  asclin)

disables all flags

Parameters
asclinpointer to ASCLIN registers
Returns
None

Definition at line 1670 of file IfxAsclin.h.

Referenced by IfxAsclin_Asc_initModule(), IfxAsclin_Lin_initModule(), and IfxAsclin_Spi_initModule().

IFX_INLINE void IfxAsclin_enableAutoBaudrateDetection ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables the auto baudrate detection.

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

Definition at line 1676 of file IfxAsclin.h.

Referenced by IfxAsclin_Lin_initModule().

IFX_INLINE void IfxAsclin_enableBreakDetectedFlag ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables break detected flag.

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

Definition at line 1682 of file IfxAsclin.h.

IFX_INLINE void IfxAsclin_enableCollisionDetection ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables the collision detection.

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

Definition at line 1688 of file IfxAsclin.h.

Referenced by IfxAsclin_Lin_initModule().

IFX_INLINE void IfxAsclin_enableCollisionDetectionErrorFlag ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables LIN collision detection error flag.

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

Definition at line 1694 of file IfxAsclin.h.

IFX_INLINE void IfxAsclin_enableCts ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables CTS.

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

Definition at line 1700 of file IfxAsclin.h.

Referenced by IfxAsclin_initCtsPin().

IFX_INLINE void IfxAsclin_enableFallingEdgeDetectedFlag ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables falling edge detected flag.

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

Definition at line 1706 of file IfxAsclin.h.

IFX_INLINE void IfxAsclin_enableFrameErrorFlag ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables frame error flag.

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

Definition at line 1712 of file IfxAsclin.h.

Referenced by IfxAsclin_Asc_initModule(), and IfxAsclin_Spi_initModule().

IFX_INLINE void IfxAsclin_enableHardwareChecksum ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables the hardware checksum.

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

Definition at line 1718 of file IfxAsclin.h.

Referenced by IfxAsclin_Lin_initModule().

IFX_INLINE void IfxAsclin_enableHeaderTimeoutFlag ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables header timeout flag.

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

Definition at line 1724 of file IfxAsclin.h.

IFX_INLINE void IfxAsclin_enableLinAutoBaudDetectionErrorFlag ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables LIN auto baudrate detection error flag.

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

Definition at line 1730 of file IfxAsclin.h.

IFX_INLINE void IfxAsclin_enableLinChecksumErrorFlag ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables LIN checksum error flag.

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

Definition at line 1736 of file IfxAsclin.h.

IFX_INLINE void IfxAsclin_enableLinParityErrorFlag ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables LIN parity error flag.

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

Definition at line 1742 of file IfxAsclin.h.

IFX_INLINE void IfxAsclin_enableLoopBackMode ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables the loop back mode.

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

Definition at line 1748 of file IfxAsclin.h.

Referenced by IfxAsclin_Asc_initModule(), and IfxAsclin_Spi_initModule().

IFX_INLINE void IfxAsclin_enableParity ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables the parity bit attachment to tha data bits.

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

Definition at line 1754 of file IfxAsclin.h.

Referenced by IfxAsclin_Asc_initModule(), IfxAsclin_Lin_initModule(), and IfxAsclin_Spi_initModule().

IFX_INLINE void IfxAsclin_enableParityErrorFlag ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables parity error flag.

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

Definition at line 1760 of file IfxAsclin.h.

Referenced by IfxAsclin_Asc_initModule(), and IfxAsclin_enableAscErrorFlags().

IFX_INLINE void IfxAsclin_enableRaisingEdgeDetectedFlag ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables raising edge detected flag.

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

Definition at line 1766 of file IfxAsclin.h.

IFX_INLINE void IfxAsclin_enableResponseTimeoutFlag ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables response timeout flag.

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

Definition at line 1772 of file IfxAsclin.h.

IFX_INLINE void IfxAsclin_enableRxFifoFillLevelFlag ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables Rx FIFO level flag.

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

Definition at line 1778 of file IfxAsclin.h.

Referenced by IfxAsclin_Asc_initModule(), and IfxAsclin_Spi_initModule().

IFX_INLINE void IfxAsclin_enableRxFifoInlet ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables the receive FIFO outlet to allow filling of Rx FIFO through shift register.

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

Definition at line 1784 of file IfxAsclin.h.

Referenced by IfxAsclin_Asc_initModule(), IfxAsclin_Lin_ignoreHeader(), IfxAsclin_Lin_initModule(), IfxAsclin_Lin_receiveHeader(), IfxAsclin_Lin_receiveResponse(), IfxAsclin_Lin_sendHeader(), IfxAsclin_Lin_sendResponse(), and IfxAsclin_Spi_initModule().

IFX_INLINE void IfxAsclin_enableRxFifoOverflowFlag ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables Rx FIFO overflow flag.

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

Definition at line 1790 of file IfxAsclin.h.

Referenced by IfxAsclin_Asc_initModule(), and IfxAsclin_enableAscErrorFlags().

IFX_INLINE void IfxAsclin_enableRxFifoUnderflowFlag ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables Rx FIFO underflow flag.

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

Definition at line 1796 of file IfxAsclin.h.

Referenced by IfxAsclin_Asc_initModule().

IFX_INLINE void IfxAsclin_enableRxHeaderEndFlag ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables receive header end flag.

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

Definition at line 1802 of file IfxAsclin.h.

IFX_INLINE void IfxAsclin_enableRxResponseEndFlag ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables receive response end flag.

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

Definition at line 1808 of file IfxAsclin.h.

IFX_INLINE void IfxAsclin_enableTransmissionCompletedFlag ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables transmission completed flag.

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

Definition at line 1814 of file IfxAsclin.h.

IFX_INLINE void IfxAsclin_enableTxFifoFillLevelFlag ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables Tx FIFO level flag.

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

Definition at line 1820 of file IfxAsclin.h.

Referenced by IfxAsclin_Asc_initModule(), and IfxAsclin_Spi_initModule().

IFX_INLINE void IfxAsclin_enableTxFifoOutlet ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables the transmit FIFO outlet to allow transmission.

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

Definition at line 1826 of file IfxAsclin.h.

Referenced by IfxAsclin_Asc_initModule(), IfxAsclin_Lin_initModule(), IfxAsclin_Lin_receiveHeader(), IfxAsclin_Lin_receiveResponse(), IfxAsclin_Lin_sendHeader(), IfxAsclin_Lin_sendResponse(), and IfxAsclin_Spi_initModule().

IFX_INLINE void IfxAsclin_enableTxFifoOverflowFlag ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables Tx FIFO overflow flag.

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

Definition at line 1832 of file IfxAsclin.h.

Referenced by IfxAsclin_Asc_initModule().

IFX_INLINE void IfxAsclin_enableTxHeaderEndFlag ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables transmit header end flag.

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

Definition at line 1838 of file IfxAsclin.h.

IFX_INLINE void IfxAsclin_enableTxResponseEndFlag ( Ifx_ASCLIN *  asclin,
boolean  enable 
)

Enables/disables transmit response end flag.

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

Definition at line 1844 of file IfxAsclin.h.

IFX_EXTERN boolean IfxAsclin_setBitTiming ( Ifx_ASCLIN *  asclin,
float32  baudrate,
IfxAsclin_OversamplingFactor  oversampling,
IfxAsclin_SamplePointPosition  samplepoint,
IfxAsclin_SamplesPerBit  medianFilter 
)

Set the bit timing.

Note
this function required FA source and the PD frequency to be set to their final values
Parameters
asclinpointer to ASCLIN registers
baudrateRequired baudrate
oversamplingThe oversampling factor
samplepointThe sample point position
medianFilterNumber of samples per bit (median filter)
Returns
TRUE if configuration was successfull

Definition at line 185 of file IfxAsclin.c.

Referenced by IfxAsclin_Asc_initModule(), IfxAsclin_Lin_initModule(), and IfxAsclin_Spi_initModule().

IFX_INLINE void IfxAsclin_setClockPolarity ( Ifx_ASCLIN *  asclin,
IfxAsclin_ClockPolarity  cpol 
)

Selects the clock polarity.

Parameters
asclinpointer to ASCLIN registers
cpolCPOL selection
Returns
None

Definition at line 2127 of file IfxAsclin.h.

Referenced by IfxAsclin_Spi_initModule().

IFX_INLINE void IfxAsclin_setCtsInput ( Ifx_ASCLIN *  asclin,
IfxAsclin_CtsInputSelect  ctsi 
)

Selects the CTS input pin.

Parameters
asclinpointer to ASCLIN registers
ctsiCTS input pin selection
Returns
None

Definition at line 2133 of file IfxAsclin.h.

Referenced by IfxAsclin_initCtsPin().

IFX_INLINE void IfxAsclin_setFrameMode ( Ifx_ASCLIN *  asclin,
IfxAsclin_FrameMode  mode 
)

Selects the module's mode of operation.

Parameters
asclinpointer to ASCLIN registers
modemode selction
Returns
None

Definition at line 2169 of file IfxAsclin.h.

Referenced by IfxAsclin_Asc_initModule(), IfxAsclin_Lin_initModule(), and IfxAsclin_Spi_initModule().

IFX_INLINE void IfxAsclin_setRtsCtsPolarity ( Ifx_ASCLIN *  asclin,
IfxAsclin_RtsCtsPolarity  rcpol 
)

Selects the RTS/CTS polarity.

Parameters
asclinpointer to ASCLIN registers
rcpolRCPOL selection
Returns
None

Definition at line 2259 of file IfxAsclin.h.

IFX_INLINE void IfxAsclin_setRxInput ( Ifx_ASCLIN *  asclin,
IfxAsclin_RxInputSelect  alti 
)

Selects the alternate input for Rx signal.

Parameters
asclinpointer to ASCLIN registers
altialternate input selection of Rx signal
Returns
None

Definition at line 2283 of file IfxAsclin.h.

Referenced by IfxAsclin_initRxPin(), IfxAsclin_Lin_initModule(), and IfxAsclin_Spi_initModule().

IFX_INLINE void IfxAsclin_setSlavePolarity ( Ifx_ASCLIN *  asclin,
IfxAsclin_SlavePolarity  spol 
)

Selects the slave polarity.

Parameters
asclinpointer to ASCLIN registers
spolSPOL selection
Returns
None

Definition at line 2307 of file IfxAsclin.h.

Referenced by IfxAsclin_Spi_initModule().