The USART Receiver has three error flags: Frame Error (FE), Data OverRun (DOR) and USART Parity Error (UPE). All can be accessed by reading UCSRA. ... Another equality for the error flags is that they can not be altered by software doing a write to the flag location.