iLLD_TC27xD  1.0
Communication Functions
Collaboration diagram for Communication Functions:

Functions

IFX_EXTERN IfxAsclin_Spi_Status IfxAsclin_Spi_exchange (IfxAsclin_Spi *asclin, void *src, void *dest, uint32 count)
 starts the data exchange More...
 
IFX_EXTERN void IfxAsclin_Spi_read (IfxAsclin_Spi *asclin)
 Reads data from the Rx FIFO based on the outlet width. More...
 
IFX_EXTERN void IfxAsclin_Spi_write (IfxAsclin_Spi *asclin)
 Writes data into the Tx FIFO based on the inlet width. More...
 

Detailed Description

Function Documentation

IFX_EXTERN IfxAsclin_Spi_Status IfxAsclin_Spi_exchange ( IfxAsclin_Spi asclin,
void *  src,
void *  dest,
uint32  count 
)

starts the data exchange

Parameters
asclinmodule handle
srcpointer to transmit data buffer
destpointer to receive data buffer
countcount of the data
Returns
status

A coding example can be found in How to use the ASCLIN SPI Interface driver?

Definition at line 61 of file IfxAsclin_Spi.c.

IFX_EXTERN void IfxAsclin_Spi_read ( IfxAsclin_Spi asclin)

Reads data from the Rx FIFO based on the outlet width.

Parameters
asclinmodule handle
Returns
None

Definition at line 356 of file IfxAsclin_Spi.c.

Referenced by IfxAsclin_Spi_isrReceive().

IFX_EXTERN void IfxAsclin_Spi_write ( IfxAsclin_Spi asclin)

Writes data into the Tx FIFO based on the inlet width.

Parameters
asclinmodule handle
Returns
None

Definition at line 407 of file IfxAsclin_Spi.c.

Referenced by IfxAsclin_Spi_exchange(), and IfxAsclin_Spi_isrTransmit().