iLLD_TC29x  1.0
Ifx_CircularBuffer.c File Reference

Circular buffer functions in C language. More...

Go to the source code of this file.

Functions

uint32 Ifx_CircularBuffer_get32 (Ifx_CircularBuffer *buffer)
 Return the circular buffer 32 bit value, and post-increment the circular buffer pointer. More...
 
uint16 Ifx_CircularBuffer_get16 (Ifx_CircularBuffer *buffer)
 Return the circular buffer 16 bit value, and post-increment the circular buffer pointer. More...
 
void Ifx_CircularBuffer_addDataIncr (Ifx_CircularBuffer *buffer, uint32 data)
 Add a 32 bit value to the circular buffer, and post-increment the circular buffer pointer. More...
 
void * Ifx_CircularBuffer_read8 (Ifx_CircularBuffer *buffer, void *data, Ifx_SizeT count)
 Copy count bytes from the circular buffer to the data array. More...
 
void * Ifx_CircularBuffer_read32 (Ifx_CircularBuffer *buffer, void *data, Ifx_SizeT count)
 Copy count 32 bit words from the circular buffer to the data array. More...
 
const void * Ifx_CircularBuffer_write8 (Ifx_CircularBuffer *buffer, const void *data, Ifx_SizeT count)
 Copy count bytes from the data array to the circular buffer. More...
 
const void * Ifx_CircularBuffer_write32 (Ifx_CircularBuffer *buffer, const void *data, Ifx_SizeT count)
 Copy count 32 bit words from the data array to the circular buffer. More...
 

Detailed Description

Circular buffer functions in C language.

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

Function Documentation

void Ifx_CircularBuffer_addDataIncr ( Ifx_CircularBuffer buffer,
uint32  data 
)

Add a 32 bit value to the circular buffer, and post-increment the circular buffer pointer.

Parameters
bufferSpecifies circular buffer.
dataSpecifies value to be added to the buffer.
Returns
None.

Definition at line 66 of file Ifx_CircularBuffer.c.