Datasheet

V850ES/JG3-H, V850ES/JH3-H CHAPTER 17 ASYNCHRONOUS SERIAL INTERFACE C (UARTC)
R01UH0042EJ0500 Rev.5.00 Page 749 of 1513
Aug 12, 2011
17.6.8 Reception errors
Errors during a receive operation are of three types: parity errors, framing errors, and overrun errors. Data reception
result error flags are set in the UCnSTR register and a reception completion interrupt request signal (INTUCnR) is output
when an error occurs.
It is possible to ascertain which error occurred during reception by reading the contents of the UCnSTR register.
Clear the reception error flag by writing 0 to it after reading it.
Figure 17-16. Receive Data Read Flow
START
No
INTUCnR signal
generated?
Error occurs?
END
Yes
No
Yes
Error processing
Read UCnRX register
Read UCnSTR register
Caution When an INTUCnR signal is generated, the UCnSTR register must be read to check for errors.