Article View: borland.public.cppbuilder.nativeapi
Article #6265Re: How to set and reset StopBit ? ( DCB )
From: Steve Aletto
Date: Tue, 31 May 2005 15:54
Date: Tue, 31 May 2005 15:54
22 lines
1787 bytes
1787 bytes
> Using DCB, i have the 'StopBits' parameter to set the number > of > stop bits when i transmit data. I set it to 0 to use one stop > bit, but how do i determine if it will be '0' or '1'? do i > have > any control on this bit value? I don't think you have. IIRC, RS232 defines the stop bit must be '1'. Why you should need control on that? > Also, i did not understand what's the meaning of "1.5 stop > bits", what's the meaning of half bit? :-o 1, 1.5 or 2 is the _duration_ of the stop bit. So 1.5 means one time and a half of a normal bit. For example @9600 1 bit is around 0.104ms long. If you set 1.5, the stop bit duration will be 0.156ms. HTH, Steve.
Technical Details
Message-ID:
<429c8842$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<429c8436@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,986667f2c87309cf X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Steve Aletto" <steve_alettoANTI@SPAMhotmail.com> From: "Steve Aletto" <steve_alettoANTI@SPAMhotmail.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <429c8436@newsgroups.borland.com> Subject: Re: How to set and reset StopBit ? ( DCB ) Date: Tue, 31 May 2005 17:54:07 +0200 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 81.208.124.114 Message-ID: <429c8842$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1117554754 81.208.124.114 (31 May 2005 08:52:34 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail