Hello Eugene,
you can get it for example by this way:
void uartCom1_RxCallback(uint32_t instance, void * uartState)
{
/* Write your code here ... */
uint8_t buffer[5]={0};
UART_DRV_ReceiveData(instance,buffer,1);
}
where instance is UART number.
I hope this helps.
Best Regards,
Iva