Article View: borland.public.cppbuilder.nativeapi
Article #6268Re: How to set and reset StopBit ? ( DCB )
From: Jim
Date: Tue, 31 May 2005 16:21
Date: Tue, 31 May 2005 16:21
27 lines
1712 bytes
1712 bytes
Thanks very much man. "Steve Aletto" <steve_alettoANTI@SPAMhotmail.com> wrote: >> 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:
<429c8f0a@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!meganewsservers.com!feeder2.on.meganewsservers.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> <429c8842$1@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 From: "Jim" <Jim@Internet.comp.net> Sender: "Jim" <Jim@Internet.comp.net> Reply-To: "Jim" <Jim@Internet.comp.net> Subject: Re: How to set and reset StopBit ? ( DCB ) Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 62.0.27.159 References: <429c8436@newsgroups.borland.com> <429c8842$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <429c8f0a@newsgroups.borland.com> Date: 31 May 2005 09:21:30 -0700 X-Trace: newsgroups.borland.com 1117556490 207.105.83.66 (31 May 2005 09:21:30 -0700) Lines: 28 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail