iLLD_TC29x  1.0
IfxAsclin_Spi.h File Reference

ASCLIN SPI details. More...

Go to the source code of this file.

Data Structures

struct  IfxAsclin_Spi_Baudrate
 Structure for Baudrate Generation. More...
 
struct  IfxAsclin_Spi_BitSamplingControl
 Structure for Bit Sampling. More...
 
struct  IfxAsclin_Spi_ErrorFlags
 Structure for Error Flags. More...
 
struct  IfxAsclin_Spi_FifoControl
 Structure for FIFO Control. More...
 
struct  IfxAsclin_Spi_FrameControl
 Structure for Frame Control. More...
 
struct  IfxAsclin_Spi_InputOutputControl
 Structure for input output control. More...
 
struct  IfxAsclin_Spi_InterruptConfig
 Structure for interrupt configuration. More...
 
struct  IfxAsclin_Spi_Job
 Structure for data transfer jobs. More...
 
struct  IfxAsclin_Spi_Pins
 Structure for SPI pin configuration. More...
 
struct  IfxAsclin_Spi
 Module handle. More...
 
struct  IfxAsclin_Spi_Config
 Configuration structure of the module. More...
 

Enumerations

enum  IfxAsclin_Spi_Status {
  IfxAsclin_Spi_Status_ok = 0,
  IfxAsclin_Spi_Status_busy = 1,
  IfxAsclin_Spi_Status_unknown = 2
}
 Enumeration for job status. More...
 

Functions

IFX_EXTERN void IfxAsclin_Spi_disableModule (IfxAsclin_Spi *asclin)
 Disables the module. More...
 
IFX_EXTERN IfxAsclin_Status IfxAsclin_Spi_initModule (IfxAsclin_Spi *asclin, const IfxAsclin_Spi_Config *config)
 Initialises the module. More...
 
IFX_EXTERN void IfxAsclin_Spi_initModuleConfig (IfxAsclin_Spi_Config *config, Ifx_ASCLIN *asclin)
 Fills the configuration structure with default values. More...
 
IFX_EXTERN void IfxAsclin_Spi_isrError (IfxAsclin_Spi *asclin)
 ISR error routine. More...
 
IFX_EXTERN void IfxAsclin_Spi_isrReceive (IfxAsclin_Spi *asclin)
 ISR receive routine. More...
 
IFX_EXTERN void IfxAsclin_Spi_isrTransmit (IfxAsclin_Spi *asclin)
 ISR transmit routine. More...
 
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...
 
IFX_EXTERN IfxAsclin_Spi_Status IfxAsclin_Spi_getStatus (IfxAsclin_Spi *asclin)
 

Detailed Description

ASCLIN SPI details.

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 IfxAsclin_Spi.h.

Enumeration Type Documentation

Enumeration for job status.

Enumerator
IfxAsclin_Spi_Status_ok 
IfxAsclin_Spi_Status_busy 
IfxAsclin_Spi_Status_unknown 

Definition at line 212 of file IfxAsclin_Spi.h.

Function Documentation

IFX_EXTERN IfxAsclin_Spi_Status IfxAsclin_Spi_getStatus ( IfxAsclin_Spi asclin)
Parameters
asclinmodule handle
Returns
status of the on going job

Definition at line 80 of file IfxAsclin_Spi.c.