Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHow to tell there is data from UART?
Hi Browsing through Altera documentation suggests I should be using the HAL with a UART. So using the HAL how do I determine if there is data available from the UART before calling getchar...
Altera_Forum
Honored Contributor
20 years agoJust an idea, can you fiddle with the driver to be able to look at the pointers for the receive buffer? Maybe you can work out a function like kbhit then.
Stefaan