Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to clear DOR flag in atmega8

Status
Not open for further replies.

arun_190175

Member level 3
Joined
Oct 22, 2014
Messages
60
Helped
14
Reputation
28
Reaction score
14
Trophy points
1,288
Location
INDIA\RAJASTHAN\CHIRAWA
Activity points
1,574
hi all experts,
when i disable USART rx interrupt and enable again then DOR flag set in UCSRA reg. so please tell me how to clear this flag.i am using winavr gcc
thanks
 

The DOR bit is cleared if the UDR is read.
 

Hi,

It's all clearely in the datasheet.
Read chapter "Receiver error flags".

Klaus
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top