Datasheet

528
Start reception
Initialization
Read the ORER bit of SSR
All data received?
End reception
1
No
Yes
ORER = 1?
Read receive data from RDR
and clear RDRF bit of SSR to 0
RDRF = 1?
Yes
Yes
No
Clear RE bit of SCR to 0
No
Read RDRF bit of SSR
Error processing
3
4
2
Figure 14.20 Sample Flowchart for Serial Receiving (1)