Remove bogus Doxygen markup.
[bertos.git] / drv / ser.h
index e43505566443e6adfc9b817a29c9961596fe106c..36e833eafa16ac9bd75498d055289f8934246028 100755 (executable)
--- a/drv/ser.h
+++ b/drv/ser.h
 
 /*
  * $Log$
+ * Revision 1.10  2004/08/24 16:20:48  bernie
+ * ser_read(): Make buffer argument void * for consistency with ANSI C and ser_write()
+ *
+ * Revision 1.9  2004/08/15 05:32:22  bernie
+ * ser_resync(): New function.
+ *
+ * Revision 1.8  2004/08/02 20:20:29  aleph
+ * Merge from project_ks
+ *
  * Revision 1.7  2004/07/30 14:15:53  rasky
  * Nuovo supporto unificato per detect della CPU
  *
@@ -108,10 +117,9 @@ enum
 #else
        #error unknown architecture
 #endif
-
-       SER_CNT       /**< Number of serial ports */
+       SER_CNT  /*!< Number of serial ports */
 };
-/* @} */
+/*\}*/
 
 
 struct SerialHardware;
@@ -161,7 +169,7 @@ extern int ser_getchar(struct Serial *port);
 extern int ser_getchar_nowait(struct Serial *port);
 
 extern int ser_write(struct Serial *port, const void *buf, size_t len);
-extern int ser_read(struct Serial *port, char *buf, size_t size);
+extern int ser_read(struct Serial *port, void *buf, size_t size);
 
 extern int ser_print(struct Serial *port, const char *s);
 extern int ser_printf(struct Serial *port, const char *format, ...) FORMAT(__printf__, 2, 3);
@@ -172,6 +180,7 @@ extern int ser_gets_echo(struct Serial *port, char *buf, int size, bool echo);
 extern void ser_setbaudrate(struct Serial *port, unsigned long rate);
 extern void ser_setparity(struct Serial *port, int parity);
 extern void ser_settimeouts(struct Serial *port, time_t rxtimeout, time_t txtimeout);
+extern void ser_resync(struct Serial *port, time_t delay);
 extern void ser_purge(struct Serial *port);
 extern void ser_drain(struct Serial *port);