URL
https://opencores.org/ocsvn/openfire2/openfire2/trunk
Subversion Repositories openfire2
[/] [openfire2/] [trunk/] [sw/] [lib/] [havebyte.c] - Rev 4
Go to most recent revision | Compare with Previous | Blame | View Log
#include "openfire.h" /* havebyte() -- poll if a byte is available in the serial port */ int havebyte(void) { return (*(volatile unsigned char *)UARTS_STATUS_REGISTER) & UART1_DATA_PRESENT; }
Go to most recent revision | Compare with Previous | Blame | View Log