This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: non-standard serial baud rates


It's about time I setup my SMTP server at home.  I hate not being able
to reply to Discussion messages from home.

Anyhow, the baud rates are
4 kbps,
16 kbps,
64 kbps,
128 kbps

I don't know if these are standard for SSI interfaces or not.  Are they?

-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com
[mailto:ecos-discuss-owner@sources.redhat.com] On Behalf Of Jonathan
Larmour
Sent: September 12, 2001 5:53 PM
To: Trenton D. Adams
Cc: eCos Discussion
Subject: Re: [ECOS] non-standard serial baud rates


"Trenton D. Adams" wrote:
> 
> Since I'm doing those SSI drivers for the EDB7XXX, I'm wondering.  Is 
> specifing a non-standard baud rate going to make the API croke?  What 
> I really want to know, are the baud rates used by anything other than 
> MY
> (tm) serial driver?
> 
> I ask because the eCos reference manual says "The field \"baud\" 
> contains a baud rate selection.  This must be one of the values:" and 
> it proceeds to display the CYGNUM_SERIAL_BAUD_XXXXXX macros.

The baud rates are defined in io/serial/current/include/serialio.h.
That's the extent of the public API. You couldn't use a publically
defined baud rate. But there's nothing to stop you adding more (although
I would start it at an integer well after that corresponding to
CYGNUM_SERIAL_BAUD_230400), e.g. 100.

But what figures are we talking about? Perhaps it would be better for us
just to add them in the main sources?

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223)
271062 Maybe this world is another planet's Hell -Aldous Huxley ||
Opinions==mine


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]