Changeset 1389 for trunk/csctapi/io_serial.h
- Timestamp:
- 01/31/10 19:48:55 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/csctapi/io_serial.h
r1321 r1389 26 26 #define _IO_SERIAL_ 27 27 28 #include "defines.h"29 28 #include <termios.h> 30 29 … … 33 32 #define IO_Serial_RTS_Set() IO_Serial_DTR_RTS(0, 1) 34 33 #define IO_Serial_RTS_Clr() IO_Serial_DTR_RTS(0, 0) 35 /*36 * Exported constants definition37 */38 34 39 35 /* Type of parity of the serial device */ … … 43 39 44 40 /* Values for the modem lines */ 45 #define IO_SERIAL_HIGH 41 #define IO_SERIAL_HIGH 1 46 42 #define IO_SERIAL_LOW 0 47 43 … … 49 45 #define IO_SERIAL_PNPID_SIZE 256 50 46 51 int wr; //FIXME should be in ifd_phoenix.c or .h47 int wr; 52 48 53 49 /* … … 56 52 57 53 /* IO_Serial creation and deletion */ 58 extern void IO_Serial_Flush ( );54 extern void IO_Serial_Flush (void); 59 55 60 56 /* Initialization and closing */ 61 57 extern bool IO_Serial_InitPnP (void); 62 extern bool IO_Serial_Close ( );58 extern bool IO_Serial_Close (void); 63 59 64 60 /* Transmission properties */
Note:
See TracChangeset
for help on using the changeset viewer.