iLLD_TC29x  1.0
Ifx_Fifo.c File Reference

FIFO functions. More...

#include "Ifx_Fifo.h"
#include <stdlib.h>
#include "Ifx_CircularBuffer.h"
#include "_Utilities/Ifx_Assert.h"
#include "Cpu/Std/IfxCpu.h"
#include "SysSe/Bsp/Bsp.h"

Go to the source code of this file.

Functions

Ifx_FifoIfx_Fifo_create (Ifx_SizeT size, Ifx_SizeT elementSize)
 Create a Fifo object. More...
 
void Ifx_Fifo_destroy (Ifx_Fifo *fifo)
 Destroy the FIFO object. More...
 
Ifx_FifoIfx_Fifo_init (void *buffer, Ifx_SizeT size, Ifx_SizeT elementSize)
 Initialize the FIFO buffer object. More...
 
boolean Ifx_Fifo_canReadCount (Ifx_Fifo *fifo, Ifx_SizeT count, Ifx_TickTime timeout)
 Indicates if the required number of bytes are available in the buffer. More...
 
Ifx_SizeT Ifx_Fifo_read (Ifx_Fifo *fifo, void *data, Ifx_SizeT count, Ifx_TickTime timeout)
 Read data from a fifo and remove them from the buffer. More...
 
void Ifx_Fifo_clear (Ifx_Fifo *fifo)
 Clear fifo contents. More...
 
boolean Ifx_Fifo_canWriteCount (Ifx_Fifo *fifo, Ifx_SizeT count, Ifx_TickTime timeout)
 Indicates if there is enough free space to write the data in the buffer. More...
 
Ifx_SizeT Ifx_Fifo_write (Ifx_Fifo *fifo, const void *data, Ifx_SizeT count, Ifx_TickTime timeout)
 Write data into a fifo. More...
 

Detailed Description

FIFO functions.

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 Ifx_Fifo.c.