[ECOS] How to check the input of STDIN channel?

Andrew Lunn andrew@lunn.ch
Fri Nov 3 08:22:00 GMT 2006


On Fri, Nov 03, 2006 at 08:09:46AM +0000, wang cui wrote:
> Thanks for your reply.
> 
> If I use the full interrupt driven serial driver for console, I think the 
> driver will be intialised until the "cyg_io_init()", then the ealier output 
> will be missing?
> 
> And I also want to printf messages in ISRs, can the "full interrupt driven 
> serial driver" be used?

Both the diag TTY and the full serial driver can share the same
device. So in your ISRs use diag_printf().

        Andrew

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



More information about the Ecos-discuss mailing list