9 Replies Latest reply on Jun 4, 2016 5:30 AM by Yacine85

    Hardeware or Software Interrupt for Serial Connection is it possible?




      I have a Question about Interrupt in Galileo Gen2.


      I want to use Interrupt Handler, so a function will be automatically called when Galileo Serial ttyS0 receive a new charachter.


      With mraa_uart_data_available I can do that but the programme must be in loop.

      With fcntl and SIGIO i tried to but no solution.

      I can also creat new Thread, but that the same like the first solution (in the loop).


      Is there any pre-defined Interrupt for serial connection in Galileo Gen2  to be able to receive charachter without loop?


      Best regards