Question about UART Rx interrupt

Hi, I am trying to receive information about sin wave (e.x amplitude, frequency) via UART from PC. 

I would like to perform measurement using the information I received.

 I have looked up the User Guide note and there were 2 interrupt related to Rx (Rx status interrupt and Receive buffer full interrupt).

Which one is more appropriate to use for my case? 

Also is there any reference code that I can refer to regarding UART RX interrupt?

Thank you.