RotateRight - 2022.1 English

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

Document ID
UG643
Release Date
2022-04-21
Version
2022.1 English

Rotates the provided value to the right one bit position.

Prototype

u32 RotateRight(u32 Input, u8 Width);

Parameters

The following table lists the RotateRight function arguments.

Table 1. RotateRight Arguments
Name Description
Input value to be rotated to the right
Width number of bits in the input data

Returns

The resulting u32 value of the rotate right