direct access of Rx Data in asynchron UART

Hi

I'm using asynchron UART.

For example, I defined idle time to 20us.

It works without any problem.

#define RECEIVE_TIMEOUT 20

static uint8_t rx_buf[512];

ret = uart_rx_enable(uart ,rx_bufsizeof(rx_buf), RECEIVE_TIMEOUT);
One disadvantage.
If the message is too long, it takes some time to get event "UART_RX_RDY".
I have a thread, which is called every 1ms.
In that thread, I want to check Rx-Data for example every 1ms.
How can I get the data and length every 1ms ?
Zephyr offers just one trigger "idle time".
Is there any other trigger for example (every  X ms)?
kind regard
Hyun-Young
Related