Apr 21, 2014 #1 G ghoola Member level 2 Joined Aug 7, 2013 Messages 43 Helped 0 Reputation 0 Reaction score 0 Trophy points 6 Location india Visit site Activity points 352 what is this code meaning? Code: DDR_INI(); I register in this forum for help so help me please
Apr 21, 2014 #2 B bosskardo Junior Member level 2 Joined Mar 20, 2014 Messages 24 Helped 0 Reputation 2 Reaction score 0 Trophy points 1,281 Visit site Activity points 1,466 Thatseems to be a function. Fe. I found a code where in the header file is: Code: #define DDR_INI() DDRB|=_BV(0)|_BV(1)|_BV(2) and the function is run in .c: Code: DDR_INI();
Thatseems to be a function. Fe. I found a code where in the header file is: Code: #define DDR_INI() DDRB|=_BV(0)|_BV(1)|_BV(2) and the function is run in .c: Code: DDR_INI();
Apr 21, 2014 #3 G ghoola Member level 2 Joined Aug 7, 2013 Messages 43 Helped 0 Reputation 0 Reaction score 0 Trophy points 6 Location india Visit site Activity points 352 bosskardo said: Thatseems to be a function. Fe. I found a code where in the header file is: Code: #define DDR_INI() DDRB|=_BV(0)|_BV(1)|_BV(2) and the function is run in .c: Code: DDR_INI(); Click to expand... you mean it's for initialization a port?
bosskardo said: Thatseems to be a function. Fe. I found a code where in the header file is: Code: #define DDR_INI() DDRB|=_BV(0)|_BV(1)|_BV(2) and the function is run in .c: Code: DDR_INI(); Click to expand... you mean it's for initialization a port?
Apr 21, 2014 #4 B bosskardo Junior Member level 2 Joined Mar 20, 2014 Messages 24 Helped 0 Reputation 2 Reaction score 0 Trophy points 1,281 Visit site Activity points 1,466 DDR_INI(); does whatever is written in the header file. Find all references to 'DDR_INI' in the project.
DDR_INI(); does whatever is written in the header file. Find all references to 'DDR_INI' in the project.