1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>int v24SetStopbits</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.8">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>int <A HREF="#DOC.DOCU">v24SetStopbits</A></H2><H2>( v24_port_t* port, int Stops )</H2><BLOCKQUOTE>setup stopbits.</BLOCKQUOTE>
<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE>Setup the number of stop bits. This function should be called directly
after <!1><A HREF="v24SetParameters.html">v24SetParameters</A>. The parameter <TT>Stops</TT> have to be set to the
correct number of stopbits. Valid values are <TT>1</TT> and <TT>2</TT>.
<P>The values returned are: <TT>V24_E_OK</TT>, <TT>V24_E_ILLHANDLE</TT>, <TT>V24_E_ILLPARM</TT>,
<TT>V24_E_NOT_INIT</TT>.
<P></BLOCKQUOTE>
<DL><DT><DT><B>Parameters:</B><DD><B>port</B> - pointer to handle of the opened port.
<BR><B>Stops</B> - the number of stop bits.
<BR><DT><B>Returns:</B><DD> (int) the <TT>V24_*</TT> error code.
<BR><DT><B>See Also:</B><DD><!1><A HREF="v24SetParameters.html">v24SetParameters</A>
<BR><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I></P><HR>
<BR>
This page was generated with the help of <A HREF="http://docpp.sourceforge.net">DOC++</A>.
</BODY>
</HTML>
|