SrivamsiMalladi commented on issue #7150:
URL: 
https://github.com/apache/incubator-nuttx/issues/7150#issuecomment-1285304520

   My goal is to use interrupts with UART. For example, in ESP-IDF, the [UART 
driver 
interrupts](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/uart.html#using-interrupts)
 has several events like break detected or received data on rx line etc. I want 
to use them. Please let me know what I need to use to get this behavior.
   One thing I can think of to implement this is to have a task constantly 
running which continuously reads from /dev/ttySx. When something is read, the 
main thread is alerted about the data reception. Basically I am building the 
interrupt from scratch.
   Is there a better way to do it?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to