what is b3b2 mean in C++ ?

I am new in learning C++ , pls I need to understand what is mean b3b2 , I think it is mean a value in Hex
it is here in this code

1
2
 // Configure LEDSIG1 Pin as GPIO mode (b3b2 = 11 = GPIOB3)
	RTL_W32(RTL_GPIO_MUX, (RTL_R32(RTL_GPIO_MUX) | 0x0000000C));


thanks
I would guess it means bit 3 and bit 2

Hex 0x0000000C -> Bin 1100 -> Bit 3 = 1, Bit 2 = 1, Bit 1 = 0, Bit 0 = 0
Numbers that start with 0x are in Hexadecimal (Hex) notation.

See also:
https://miro.medium.com/max/2000/1*DTmuXRaK9GIqeEF9IB2B_g.png
Last edited on
@coder777
thank you very much
@kigar64551
thank you very much
Topic archived. No new replies allowed.