Dataflow Runtime API  3.1.1.0
Static Public Attributes | List of all members
imt::base::core::util::GenerateBitMask< offset, width > Struct Template Reference

Generates a bit mask of the given width left shifted offset bits from the least significant bit position of the word. More...

#include <Imt.Base.Core.Util/GenerateBitMask.h>

Static Public Attributes

static const uint32_t value = static_cast<uint32_t>(GenerateUnshiftedBitMask<width>::value << offset)
 Holds the bit mask. More...
 

Detailed Description

template<uint32_t offset, uint32_t width>
struct imt::base::core::util::GenerateBitMask< offset, width >

Generates a bit mask of the given width left shifted offset bits from the least significant bit position of the word.

Template Parameters
offsetthe number of zero bits on the least significant side of the mask
widththe number of consecutive one bits in the mask

Member Data Documentation

◆ value

template<uint32_t offset, uint32_t width>
const uint32_t imt::base::core::util::GenerateBitMask< offset, width >::value = static_cast<uint32_t>(GenerateUnshiftedBitMask<width>::value << offset)
static

Holds the bit mask.


The documentation for this struct was generated from the following file: