avr macros | Microcontroller › AVR › avr macros This topic has 1 reply, 2 voices, and was last updated 13 years, 10 months ago by Amit Joshi. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts February 2, 2011 at 8:28 am #622 KIMBERLY WHITEParticipant I started with avr recently. i am searching the some basic code of avr i found some macros for example- DDRB = _BV(PB0) | _BV(PB1); what is the means of ”BV” macro here. February 4, 2011 at 6:49 am #5407 Amit JoshiParticipant this macros are under the “inttypes.h” header file. this macro are used when u need to deal with single i/o pin of avr microcontrollers. this macro shows PB0 and PB1 are output and rest pins are input pins Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In