Electronic – way to not have to poll the UART of an AVR

avrembedded

I'm receiving data over UART from another AVR. However I'm doing other stuff so don't want to have constantly keep polling the UART. I know there are interrupts but I can only see one for receive complete, which I assume still requires me to poll to complete the transfer.

Best Answer

There are interrupt vectors for both RXC and TXC (RX and TX complete) on AVRs. You should never have to poll for these unless you want to.

AVRFreaks has a nice post on this, and so does the manufacturer.