STM32LIB
generate_unshifted_mask_t.hpp
Go to the documentation of this file.
1 #pragma once
2 
9 template <unsigned width>
11 {
12  enum { value = (generate_unshifted_mask_t<width - 1>::value << 1) | 1 };
13 };
14 
18 template <>
20 {
21  enum { value = 0 };
22 };
Definition: generate_unshifted_mask_t.hpp:12
Definition: generate_unshifted_mask_t.hpp:10