- This topic has 2 replies, 2 voices, and was last updated 9 years, 5 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
|
Microcontroller › AVR › ATmega16 code translation…
Hello,everybody.Would you please tell me;
1-What does mean the following ATmega16/AVR instructions?;
……..
unsigned int k, h;
Hey bahman
DDRA is defined as INPUT port and DDRD is defined as OUTPUT port.DDRx is data direction register which define for initialize I/O pins.PINA register get the readings from input pin of controller.I suggest to you refer the book of AVR controller and PIC controller by mazidi.chek I/O configuration and register of PIC18F452 for AVR atmega16 to PIC18F452 translation.
Hi,thanks for your useful answer.