X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-ID: <42D26F05.116255C6@yahoo.com> From: CBFalconer Organization: Ched Research http://cbfalconer.home.att.net X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: COM/SERIAL Port data structure/format References: <1121065999 DOT 175170 DOT 48470 AT g47g2000cwa DOT googlegroups DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 28 Date: Mon, 11 Jul 2005 14:08:19 GMT NNTP-Posting-Host: 12.76.142.79 X-Complaints-To: abuse AT worldnet DOT att DOT net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1121090899 12.76.142.79 (Mon, 11 Jul 2005 14:08:19 GMT) NNTP-Posting-Date: Mon, 11 Jul 2005 14:08:19 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com aveo wrote: > > Anybody please tell me serial port data format. > I know it is like, > START BIT----PARITY BIT-------ACTUAL DATA-----STOP BIT > 0 ----EVEN/ODD/NONE---- DATA ------------ > > but i want it more precise. It is actually: Start bit, Data Bits, [optional parity bit], stop bit. The final stop bit may be set to 1, 1.5 or two bit times. The parity may be set to odd, even, zero, or one (or none). Data bits length may be set to 5, 6, 7, or 8. Data bits are emitted least significant bit first. The quiescent state of the line is the equivalent of a one bit. I can't remember whether that is called marking or spacing. -- "If you want to post a followup via groups.google.com, don't use the broken "Reply" link at the bottom of the article. Click on "show options" at the top of the article, then click on the "Reply" at the bottom of the article headers." - Keith Thompson