Xil_IncrementBuffer - Xil_IncrementBuffer - 2026.1 English - UG643

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2026-06-23
Version
2026.1 English

This function increments the buffer data by specified value.

Note: The caller shall define a local buffer as the buffer contents are modified in-place by this API. The input buffer will be updated with the incremented values upon successful execution.

Prototype

void Xil_IncrementBuffer(u8 *Buffer, u32 BufferSize, u8 IncVal);

Parameters

The following table lists the Xil_IncrementBuffer function arguments.

Table 1. Xil_IncrementBuffer Arguments
Type Member Description
u8 * Buffer Pointer to the buffer to be incremented.
u32 BufferSize Size of the buffer in bytes.
u8 IncVal Increment value.

Returns

None