Dear All ,
I want to write a new program for serial communication via /dev/ttyS0. I can now open the device via open() function.Then I can send some bytes via write() function. The problem is I want to receive data when they are ready on receive register. I don't want to check it in loop.Is it possible recognizing when some datas is received by interrupts? Could you give me some advices and examples about this.