Issues in Non-Blocking/Interrupt Based UART
Posted: 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 and read that it has been removed from the library as 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.
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
Code: Select all
uart_driver_install
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.