RotateRight - 2023.1 English

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

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