Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Shifts a bit mask.

Files

lib_def.h

Prototypes

Code Block
LanguageC++
CaptionTextCAPTION
languagecpp
          DEF_BIT_MASK(bit_mask, bit_shift);
           
          DEF_BIT_MASK_08(bit_mask, bit_shift);
          DEF_BIT_MASK_16(bit_mask, bit_shift);
          DEF_BIT_MASK_32(bit_mask, bit_shift);
          DEF_BIT_MASK_64(bit_mask, bit_shift);

Arguments

bit_mask

Bit mask to shift.

...

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

...

LanguageC++
CaptionTextCAPTION
languagecpp

...