I have hard time to understand what this doc tells me: https://www.microchip.com/webdoc/AVRLibcReferenceManual/FAQ_1faq_use_bv.html
I has a macro called
convert a bit number (usually within a byte register) into a byte value
And the example tells this
_BV(3) => 1 << 3 => 0x08
I am kinda used to bits and bytes etc. But I don't understand what the 3 in this example is? It says it converts a bit number but 3 is not binary it is an integer. And the macro resolves it to 0x08 which is the value of 8 in decimal.
I am very confused. I hope someone can explain to me what is happening here!