iLLD_TC27xC  1.0
External Functions
Collaboration diagram for External Functions:

Functions

IFX_EXTERN void IfxAsclin_enableAscErrorFlags (Ifx_ASCLIN *asclin, boolean parEnable, boolean rfoEnable)
 Enables the ASC error interrupt Flags. More...
 
IFX_EXTERN void IfxAsclin_enableModule (Ifx_ASCLIN *asclin)
 Enables the module. More...
 
IFX_EXTERN sint32 IfxAsclin_getIndex (Ifx_ASCLIN *asclin)
 Returns the module Index. More...
 
IFX_EXTERN volatile Ifx_SRC_SRCR * IfxAsclin_getSrcPointerEr (Ifx_ASCLIN *asclin)
 Returns the SRC pointer for ERR. More...
 
IFX_EXTERN volatile Ifx_SRC_SRCR * IfxAsclin_getSrcPointerRx (Ifx_ASCLIN *asclin)
 Returns the SRC pointer for Rx. More...
 
IFX_EXTERN volatile Ifx_SRC_SRCR * IfxAsclin_getSrcPointerTx (Ifx_ASCLIN *asclin)
 Returns the SRC pointer for Tx. More...
 
IFX_EXTERN uint32 IfxAsclin_read16 (Ifx_ASCLIN *asclin, uint16 *data, uint32 count)
 Reads data up to 16 bits. More...
 
IFX_EXTERN uint32 IfxAsclin_read32 (Ifx_ASCLIN *asclin, uint32 *data, uint32 count)
 Reads data up to 32 bits. More...
 
IFX_EXTERN uint32 IfxAsclin_read8 (Ifx_ASCLIN *asclin, uint8 *data, uint32 count)
 Reads data up to 8 bits. More...
 
IFX_EXTERN void IfxAsclin_setBaudrateBitFields (Ifx_ASCLIN *asclin, uint16 prescaler, uint16 numerator, uint16 denominator, IfxAsclin_OversamplingFactor oversampling)
 Sets the baudrate bit fields. More...
 
IFX_EXTERN void IfxAsclin_setClockSource (Ifx_ASCLIN *asclin, IfxAsclin_ClockSource clockSource)
 Sets the clock source. More...
 
IFX_EXTERN uint32 IfxAsclin_write16 (Ifx_ASCLIN *asclin, uint16 *data, uint32 count)
 Writes data up to 16 bits. More...
 
IFX_EXTERN uint32 IfxAsclin_write32 (Ifx_ASCLIN *asclin, uint32 *data, uint32 count)
 Writes data up to 32 bits. More...
 
IFX_EXTERN uint32 IfxAsclin_write8 (Ifx_ASCLIN *asclin, uint8 *data, uint32 count)
 Writes data up to 8 bits. More...
 

Detailed Description

Function Documentation

IFX_EXTERN void IfxAsclin_enableAscErrorFlags ( Ifx_ASCLIN *  asclin,
boolean  parEnable,
boolean  rfoEnable 
)

Enables the ASC error interrupt Flags.

Parameters
asclinpointer to ASCLIN registers
parEnableparity error
rfoEnableRx FIFO overflow error
Returns
None

Definition at line 37 of file IfxAsclin.c.

IFX_EXTERN void IfxAsclin_enableModule ( Ifx_ASCLIN *  asclin)

Enables the module.

Parameters
asclinpointer to ASCLIN registers
Returns
None

Definition at line 44 of file IfxAsclin.c.

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

IFX_EXTERN sint32 IfxAsclin_getIndex ( Ifx_ASCLIN *  asclin)

Returns the module Index.

Parameters
asclinpointer to ASCLIN registers
Returns
module index

Definition at line 87 of file IfxAsclin.c.

Referenced by IfxAsclin_getSrcPointerEr(), IfxAsclin_getSrcPointerRx(), and IfxAsclin_getSrcPointerTx().

IFX_EXTERN volatile Ifx_SRC_SRCR* IfxAsclin_getSrcPointerEr ( Ifx_ASCLIN *  asclin)

Returns the SRC pointer for ERR.

Parameters
asclinpointer to ASCLIN registers

Definition at line 115 of file IfxAsclin.c.

Referenced by IfxAsclin_Asc_initModule(), and IfxAsclin_Spi_initModule().

IFX_EXTERN volatile Ifx_SRC_SRCR* IfxAsclin_getSrcPointerRx ( Ifx_ASCLIN *  asclin)

Returns the SRC pointer for Rx.

Parameters
asclinpointer to ASCLIN registers

Definition at line 121 of file IfxAsclin.c.

Referenced by IfxAsclin_Asc_initModule(), and IfxAsclin_Spi_initModule().

IFX_EXTERN volatile Ifx_SRC_SRCR* IfxAsclin_getSrcPointerTx ( Ifx_ASCLIN *  asclin)

Returns the SRC pointer for Tx.

Parameters
asclinpointer to ASCLIN registers

Definition at line 127 of file IfxAsclin.c.

Referenced by IfxAsclin_Asc_initModule(), and IfxAsclin_Spi_initModule().

IFX_EXTERN uint32 IfxAsclin_read16 ( Ifx_ASCLIN *  asclin,
uint16 data,
uint32  count 
)

Reads data up to 16 bits.

Parameters
asclinpointer to ASCLIN registers
dataArray where the read data shall be stored
countnumber of items to read
Returns
number of items that could not be read

Definition at line 133 of file IfxAsclin.c.

Referenced by IfxAsclin_Spi_read().

IFX_EXTERN uint32 IfxAsclin_read32 ( Ifx_ASCLIN *  asclin,
uint32 data,
uint32  count 
)

Reads data up to 32 bits.

Parameters
asclinpointer to ASCLIN registers
dataArray where the read data shall be stored
countnumber of items to read
Returns
number of items that could not be read

Definition at line 147 of file IfxAsclin.c.

IFX_EXTERN uint32 IfxAsclin_read8 ( Ifx_ASCLIN *  asclin,
uint8 data,
uint32  count 
)

Reads data up to 8 bits.

Parameters
asclinpointer to ASCLIN registers
dataArray where the read data shall be stored
countnumber of items to read
Returns
number of items that could not be read

Definition at line 161 of file IfxAsclin.c.

Referenced by IfxAsclin_Asc_isrReceive(), IfxAsclin_Lin_receiveHeader(), IfxAsclin_Lin_receiveResponse(), and IfxAsclin_Spi_read().

IFX_EXTERN void IfxAsclin_setBaudrateBitFields ( Ifx_ASCLIN *  asclin,
uint16  prescaler,
uint16  numerator,
uint16  denominator,
IfxAsclin_OversamplingFactor  oversampling 
)

Sets the baudrate bit fields.

Parameters
asclinpointer to ASCLIN registers
prescalerdivision ratio of the predivider
numeratornumerator of the fractional divider
denominatordenominator of the fractional divider
oversamplingdivision ratio of the baudrate postdivider
Returns
None

Definition at line 175 of file IfxAsclin.c.

IFX_EXTERN void IfxAsclin_setClockSource ( Ifx_ASCLIN *  asclin,
IfxAsclin_ClockSource  clockSource 
)

Sets the clock source.

Parameters
asclinpointer to ASCLIN registers
clockSourceclock source selection
Returns
None

Definition at line 255 of file IfxAsclin.c.

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

IFX_EXTERN uint32 IfxAsclin_write16 ( Ifx_ASCLIN *  asclin,
uint16 data,
uint32  count 
)

Writes data up to 16 bits.

Parameters
asclinpointer to ASCLIN registers
dataArray of data to be send
countnumber of items to be send
Returns
the number of items that could not be send

Definition at line 273 of file IfxAsclin.c.

Referenced by IfxAsclin_Spi_write().

IFX_EXTERN uint32 IfxAsclin_write32 ( Ifx_ASCLIN *  asclin,
uint32 data,
uint32  count 
)

Writes data up to 32 bits.

Parameters
asclinpointer to ASCLIN registers
dataArray of data to be send
countnumber of items to be send
Returns
the number of items that could not be send

Definition at line 287 of file IfxAsclin.c.

IFX_EXTERN uint32 IfxAsclin_write8 ( Ifx_ASCLIN *  asclin,
uint8 data,
uint32  count 
)

Writes data up to 8 bits.

Parameters
asclinpointer to ASCLIN registers
dataArray of data to be send
countnumber of items to be send
Returns
the number of items that could not be send

Definition at line 301 of file IfxAsclin.c.

Referenced by IfxAsclin_Asc_initiateTransmission(), IfxAsclin_Asc_isrTransmit(), IfxAsclin_Lin_sendHeader(), IfxAsclin_Lin_sendResponse(), and IfxAsclin_Spi_write().