RotateRight - 2023.2 English

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

Document ID
UG643
Release Date
2023-12-13
Version
2023.2 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 unsigned long value of the rotate right.