STM32LIB
Public Types | List of all members
generate_unshifted_mask_t< width > Struct Template Reference

#include <generate_unshifted_mask_t.hpp>

Public Types

enum  { value = (generate_unshifted_mask_t<width - 1>::value << 1) | 1 }
 

Detailed Description

template<unsigned width>
struct generate_unshifted_mask_t< width >

Generates a bit mask of the given width whose least significant bit is at the same bit position as the least significant bit of the word.

Template Parameters
widththe number of bits in the mask

Member Enumeration Documentation

template<unsigned width>
anonymous enum
Enumerator
value 

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