Add IS_BIT_MASK() macro for determining whether a value is set bits continuously from the LSB. This macro is not dependent on bit-width and works in contrast to BIT_MASK() and BIT64_MASK(). IS_SHIFTED_BIT_MASK() is a version of IS_BIT_MASK() that allows setting the start bit of continuous bits. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com> |
||
|---|---|---|
| .. | ||
| zephyr | ||