I am really confused, but cannot to do simple task as it seems:
I simply need to set number of bits in byte.
For example:
I need 5 bits set. So I need 0xb00011111.
Is it possible to do this without loop?
Also I'd not like to write lot of #defines too.