]> rtime.felk.cvut.cz Git - fpga/virtex2/uart.git/blobdiff - software/uart.c
Omsp_quadcount periphery changed.
[fpga/virtex2/uart.git] / software / uart.c
index 1c578319c518f3d4e6b9a94d31db1d16172a2bb0..87d7222659ce9135dd8aa68d2bdc8fdd28e4d220 100644 (file)
@@ -12,3 +12,6 @@ int getchar() {
   return URX;
 }
 
+int isRxEmpty() {
+  return (~USTAT) & 0x10;
+}