Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Clear Usart Buffer
PostPosted: Tue Jan 24, 2012 10:30 pm 
Offline

Joined: Wed Jan 11, 2012 4:54 pm
Posts: 3
Hi all.

Actually i'm making a project with At91Sam9xe but i need to clear the usart0 buffer after i read the data. is there anyway to do this?

Best Regards.


Top
 Profile  
 
 Post subject: Re: Clear Usart Buffer
PostPosted: Wed Jan 25, 2012 3:40 am 
Offline

Joined: Thu Apr 19, 2007 10:15 pm
Posts: 204
Location: USA
> i need to clear the usart0 buffer

"Buffer" as in memory buffer?
Or the device register/port?

The possible operations you could perform on the device registers would be in the Atmel documentation. It is a must-read if you are going to do any driver development.

IIRC I have never seen any kind of software control over the receive data register (other than reading the data) in the half-dozen UART/USART/SCC chips I have worked on .

Regards


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: