old-www/HOWTO/Serial-Programming-HOWTO/index.html

294 lines
3.5 KiB
HTML

<HTML
><HEAD
><TITLE
>Serial Programming HOWTO</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.63
"><LINK
REL="NEXT"
TITLE="Introduction"
HREF="intro.html"></HEAD
><BODY
CLASS="ARTICLE"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="ARTICLE"
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="TITLE"
><A
NAME="AEN2"
>Serial Programming HOWTO</A
></H1
><H3
CLASS="AUTHOR"
><A
NAME="AEN4"
>Gary Frerking</A
></H3
><DIV
CLASS="AFFILIATION"
><DIV
CLASS="ADDRESS"
><P
CLASS="ADDRESS"
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gary@frerking.org<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</P
></DIV
></DIV
><H3
CLASS="AUTHOR"
><A
NAME="AEN10"
>Peter Baumann</A
></H3
><DIV
CLASS="REVHISTORY"
><TABLE
WIDTH="100%"
BORDER="0"
><TR
><TH
ALIGN="LEFT"
VALIGN="TOP"
COLSPAN="3"
><B
>Revision History</B
></TH
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 1.01</TD
><TD
ALIGN="LEFT"
>2001-08-26</TD
><TD
ALIGN="LEFT"
>Revised by: glf</TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>New maintainer, converted to DocBook</TD
></TR
><TR
><TD
ALIGN="LEFT"
>Revision 1.0</TD
><TD
ALIGN="LEFT"
>1998-01-22</TD
><TD
ALIGN="LEFT"
>Revised by: phb</TD
></TR
><TR
><TD
ALIGN="LEFT"
COLSPAN="3"
>Initial document release</TD
></TR
></TABLE
></DIV
><DIV
><DIV
CLASS="ABSTRACT"
><A
NAME="AEN24"
></A
><P
></P
><P
> This document describes how to program communications with devices
over a serial port on a Linux box.
</P
><P
></P
></DIV
></DIV
><HR></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
>1. <A
HREF="intro.html"
>Introduction</A
></DT
><DD
><DL
><DT
>1.1. <A
HREF="intro.html#COPYRIGHT"
>Copyright Information</A
></DT
><DT
>1.2. <A
HREF="intro.html#DISCLAIMER"
>Disclaimer</A
></DT
><DT
>1.3. <A
HREF="intro.html#NEWVERSIONS"
>New Versions</A
></DT
><DT
>1.4. <A
HREF="intro.html#CREDITS"
>Credits</A
></DT
><DT
>1.5. <A
HREF="intro.html#FEEDBACK"
>Feedback</A
></DT
></DL
></DD
><DT
>2. <A
HREF="x56.html"
>Getting started</A
></DT
><DD
><DL
><DT
>2.1. <A
HREF="x56.html#AEN58"
>Debugging</A
></DT
><DT
>2.2. <A
HREF="x56.html#AEN69"
>Port Settings</A
></DT
><DT
>2.3. <A
HREF="x56.html#AEN88"
>Input Concepts for Serial Devices</A
></DT
><DD
><DL
><DT
>2.3.1. <A
HREF="x56.html#AEN92"
>Canonical Input Processing</A
></DT
><DT
>2.3.2. <A
HREF="x56.html#AEN102"
>Non-Canonical Input Processing</A
></DT
><DT
>2.3.3. <A
HREF="x56.html#AEN105"
>Asynchronous Input</A
></DT
><DT
>2.3.4. <A
HREF="x56.html#AEN110"
>Waiting for Input from Multiple Sources</A
></DT
></DL
></DD
></DL
></DD
><DT
>3. <A
HREF="x115.html"
>Program Examples</A
></DT
><DD
><DL
><DT
>3.1. <A
HREF="x115.html#AEN125"
>Canonical Input Processing</A
></DT
><DT
>3.2. <A
HREF="x115.html#AEN129"
>Non-Canonical Input Processing</A
></DT
><DT
>3.3. <A
HREF="x115.html#AEN144"
>Asynchronous Input</A
></DT
><DT
>3.4. <A
HREF="x115.html#AEN148"
>Waiting for Input from Multiple Sources</A
></DT
></DL
></DD
><DT
>4. <A
HREF="x165.html"
>Other Sources of Information</A
></DT
></DL
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="intro.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Introduction</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>