Hi@AparnaSridharan
The easiest way is to judge the data you need among all the received data
you can take a look at the revevant registers in the picture below.

I don't know if this register can achieve the function you want,and there is no demo program for your reference,
BR!
Jim,