Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Current »

Shifts a bit mask.

Files

lib_def.h

Prototypes

Arguments

bit_mask

Bit mask to shift.

bit_shift

Number of bit positions to left-shift the bit mask.

Returned Value

bit_mask left-shifted by bit_shift number of bits.

Required Configuration

None.

Notes / Warnings

bit_mask should be an unsigned integer. bit_shift should be a non-negative integer.

bit_shift values that overflow the target CPU and/or compiler environment (e.g. negative or greater-than-CPU-data-size values) may generate compiler warnings and/or errors.

Example Usage

  • No labels