12.07.2015 Views

ATmega32A Datasheet - Sunrom Technologies

ATmega32A Datasheet - Sunrom Technologies

ATmega32A Datasheet - Sunrom Technologies

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>ATmega32A</strong>Assembly Code Example (1)USART_Receive:; Wait for data to be receivedsbis UCSRA, RXCrjmp USART_Receive; Get status and 9th bit, then data from bufferin r18, UCSRAin r17, UCSRBin r16, UDR; If error, return -1andi r18,(1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!