Forum Discussion
Altera_Forum
Honored Contributor
22 years agouart nonblocking
How can I do nonblocking io with uart I have a singlethread enviroment and need nonblocking io for uart I tried the following code, but it does not work correctly int fd; fd = ...
Altera_Forum
Honored Contributor
22 years agoThe filedescriptor is used in the "read" function and the read function returns
immediatly with res=0, if no characters are available. I don't want to use the reduced drivers. I found no example and no register description in the altera documentation. I' have read the "linux serial programming howto", but there must be some differences in programming with NIOSII ???.