Subject: Serial port questions
To: 'netbsd-help@netbsd.org' <netbsd-help@netbsd.org>
From: Bruce Martin <BruceM@cat.co.za>
List: netbsd-help
Date: 07/24/1999 17:21:59
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------ =_NextPart_001_01BED5E8.46F24690
Content-Type: text/plain

3 Questions:

- I want to get a character from the receive buffer, but there may not
always be one: how do I check if it is empty first, or timeout after
trying to read it for a while?

- How do I change the DTR line state?

- How do I change the depth of the FIFO required to cause an interrupt?

Thanks
 Bruce

------ =_NextPart_001_01BED5E8.46F24690
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.1960.3">
<TITLE>Serial port questions</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>3 Questions:</FONT>
</P>

<P><FONT SIZE=3D2>- I want to get a character from the receive buffer, =
but there may not always be one: how do I check if it is empty first, =
or timeout after trying to read it for a while?</FONT></P>

<P><FONT SIZE=3D2>- How do I change the DTR line state?</FONT>
</P>

<P><FONT SIZE=3D2>- How do I change the depth of the FIFO required to =
cause an interrupt?</FONT>
</P>

<P><FONT SIZE=3D2>Thanks</FONT>
<BR><FONT SIZE=3D2>&nbsp;Bruce</FONT>
</P>

</BODY>
</HTML>
------ =_NextPart_001_01BED5E8.46F24690--