|
STM32LIB
|
#include <generate_mask_t.hpp>
Public Types | |
| enum | { value = generate_unshifted_mask_t<width>::value << offset } |
Generates a bit mask of the given width left shifted offset bits from the least significant bit position of the word.
| offset | the number of zero bits on the least significant side of the mask |
| width | the number of consecutive one bits in the mask |
1.8.9.1