3 * Copyright (C) 2003,2004 Develer S.r.l. (http://www.develer.com/)
6 * \brief Hardware dependent serial driver (interface)
10 * \author Stefano Fedrigo <aleph@develer.com>
11 * \author Giovanni Bajo <rasky@develer.com>
16 * Revision 1.1 2004/05/23 18:10:11 bernie
17 * Import drv/ modules.
19 * Revision 1.1 2004/05/14 12:47:26 rasky
20 * Importato nuovo supporto seriale per AVR da Stefano
22 * Revision 1.3 2004/05/08 13:59:08 aleph
25 * Revision 1.2 2004/05/08 13:58:36 aleph
33 struct SerialHardware;
36 struct SerialHardwareVT
38 void (*init)(struct SerialHardware* ctx, struct Serial* ser);
39 void (*cleanup)(struct SerialHardware* ctx);
40 void (*setbaudrate)(struct SerialHardware* ctx, unsigned long rate);
41 void (*setparity)(struct SerialHardware* ctx, int parity);
42 void (*enabletxirq)(struct SerialHardware* ctx);
47 const struct SerialHardwareVT* table;
50 struct SerialHardware* ser_hw_getdesc(int unit);
52 #endif // _DRV_SER_P_H