Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

RE: [AVR-Chat] Re: USART Interrupts

2012-05-18 by Steven Hodge

This is somewhat of an aside.   I just finished porting my USART ISR's from
mega to xmega.   They only use the Receive Complete (RXC) and Transmit
Complete (TXC) interrupts.  I've always been curious as to when one would
use the "Data Register Empty" (DRE) interrupt.  Can somebody give a brief
reason when and why to use this one?  Thanks, Steve

 

From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
Of bayramdavies
Sent: Friday, May 18, 2012 6:20 AM
To: AVR-Chat@yahoogroups.com
Subject: [AVR-Chat] Re: USART Interrupts

 

  

"englsprogeny1" wrote:

> I want to safely receive (buffer) data seen
> on the UART Rx wihtout servicing the 'Receive
> Compete Interrupt'(as if I had a FIFO ...)
> 
> Any thoughts?

My thought is that it would be much easier to service the Receive Compete
Interrupt. As you are doing something that has been done many times before,
I assume you're doing it for fun or the educational experience. So, perhaps
your strange goal with regard to the USART is also a made-up challenge. But,
if it is not, I recommend that you do it the usual way.

Graham Davies
www.ecrostech.com





[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.