Oct 15, 2012 #1 T trustworthytanumoy Newbie level 4 Joined Oct 14, 2012 Messages 6 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Location Siliguri Activity points 1,318 Hello can anyone tell what does BV means in this AVR programming sequence DS_PORT&=~_BV(DS_PIN)
Oct 15, 2012 #2 alexan_e Administrator Joined Mar 16, 2008 Messages 11,888 Helped 2,021 Reputation 4,158 Reaction score 2,031 Trophy points 1,393 Location Greece Activity points 64,371 It is defined as Code: #define _BV(bit) (1 << (bit)) https://www.nongnu.org/avr-libc/user-manual/group__avr__sfr.html
It is defined as Code: #define _BV(bit) (1 << (bit)) https://www.nongnu.org/avr-libc/user-manual/group__avr__sfr.html