This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: How to check the input of STDIN channel?
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