[ECOS] pid_serial driver

Grant Edwards grante@visi.com
Tue Mar 7 09:35:00 GMT 2000


> Anyway, the driver isn't too tough:  It turns out that the driver
> ..._serial_putc function should return true if it's able to send the
> character or false if it can't... the OS will call the function with
> successive data until it returns false.  Since the '550 is kinda lame and
> has neither a FIFO counter or FIFO full indicator, we have to keep a
> counter to tell us when we can't store any more data.  

I'm working on an 850 driver at the moment, and they've kludged
in a way to read the FIFO counter, so serial_putc is pretty
straight forward.

> Anyway, this code is already done, so feel free to borrow as much as you
> like... there's more information at
> ftp://sourceware.cygnus.com/pub/ecos/contrib/hal/i386/hal-i386-pc-20000210.html .

Thanks

-- 
Grant Edwards
grante@visi.com


More information about the Ecos-discuss mailing list