Issues in Non-Blocking/Interrupt Based UART

Dakshk
Posts: 5
Joined: Tue May 21, 2024 11:02 am

Issues in Non-Blocking/Interrupt Based UART

Postby Dakshk » Tue May 21, 2024 11:23 am

I am trying to implement Non-Blocking UART with help of Interrupts and I saw many references and went through all example codes but couldn't find the relevant code. Can anybody guide me through for implementing following function.

So my main target is simple I just want and ISR function for Receiving/Transmitting Data on UART which does not block other code, I don't want to use FreeRTOS.

I tried to find reference for this but all of them used

Code: Select all

uart_isr_register
and read that it has been removed from the library as

Code: Select all

uart_driver_install
does all the task and ISR is also handled by the driver.

But there's no API to read/write data which would execute the ISR whenever the data is given as input.

If anybody has implemented this code or have any knowledge about it, it would of great help!

Thank you for your time.

Who is online

Users browsing this forum: Asanga, Majestic-12 [Bot] and 80 guests