[ECOS] eCos application using USART

Ali Rodgo alirodgo@web.de
Wed Jan 21 14:47:00 GMT 2004


Thanks both
but Gary when you say POSIX compatible termios what does refer to? For example, if i want to configure the USART to operate with 9600 baud rate, what functions and where and how can i do that? I have seen software API to do that in the Atmel web site. Where is this POSIX software?Any example?

Sorry maybe i am a bit lost on this

Thanks in advance


Gary Thomas <gary@mlbassoc.com> schrieb am 21.01.04 14:01:35:
> 
> On Wed, 2004-01-21 at 05:44, Jani Monoses wrote:
> > On Wed, 21 Jan 2004 11:30:00 +0100
> > "Ali Rodgo" <alirodgo@web.de> wrote:
> > 
> > > Hello,
> > > I want to programm a new serial protocol (ecos application) to
> > > communicate a device with the AT91EB40A using the USART. Can anyone
> > > tell me where can i find (in the ecos repository) the files
> > > necessaries to use the Usarts? Access to registers, USART predefined
> > > software, examples etc..
> > 
> > devs/serial/arm/at91
> 
> More importantly, the point of having a standard driver structure is 
> that one can write applications *without* needing to know the details
> of the actual hardware.  We have a [fairly] complete POSIX compatible
> "termios" layer which allows for high utilization of the device, 
> including control over things like baud rates, etc.  I'd certainly
> suggest that you (Ali) try to use it.
> 
> -- 
> Gary Thomas <gary@mlbassoc.com>
> MLB Associates
> 
> 
> -- 
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
> 


______________________________________________________________________________
Erdbeben im Iran: Zehntausende Kinder brauchen Hilfe. UNICEF hilft den
Kindern - helfen Sie mit! https://www.unicef.de/spe/spe_03.php


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list