Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
OLDSIO.H
Package: ertos.rar [view]
Upload User: sunrenlu
Upload Date: 2022-06-13
Package Size: 1419k
Code Size: 1k
Category:
OS Develop
Development Platform:
DOS
- /*
- * Serial I/O Library
- *
- * Copyright (c) 1999, Erick Engelke
- */
- #define SIO_PARITY_NONE 0
- #define SIO_PARITY_ODD 1
- #define SIO_PARITY_EVEN 2
- #define SIO_DATABITS7 7
- #define SIO_DATABITS8 8
- #define SIO_STOPBITS1 1
- #define SIO_STOPBITS2 2
- /* to define more serial ports, increase this next number *AND* recompile
- * the SIO.C library under ./src
- */
- #define MAXSIO 4
- extern void sio_init( int com, int port, int irq, int rbufsize, int tbufsize );
- extern void sio_close( int com );
- extern void sio_setup( int com, DWORD baud, int bits, int parity, int stop );
- extern int sio_recv_waiting( int com );
- extern int sio_tran_waiting( int com );
- extern BYTE sio_readbyte( int com );
- extern void sio_writebyte( int com, BYTE b );
- void sio_msg( int com, int xmit, int recv );