Hello you

I want to build some function for RS485 realize.
the algorithm of this function is next :

1. Set bit of I/O register to 1 for enable of transmit RS485 driver
2. write something to port 
3. tcdrain() for transmission complete
4. Set bit of I/O register to 0 for disable of transmit RS485 driver

But problem is in incorrect tcdrain() working. Function does not provide of 
waiting of data transmission process complete
Can you give some comments, or some solution of this problem

Thank you
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to