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.
| Type | Member | Description |
|---|---|---|
| u8 * | Buffer | Pointer to the buffer to be incremented. |
| u32 | BufferSize | Size of the buffer in bytes. |
| u8 | IncVal | Increment value. |