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: Blocking input on diagnostics


>>>>> "Robert" == Robert Cragie <rcc@jennic.com> writes:

Robert> Everything works OK, except that I notice that stdin through
Robert> the diagnostics uses a busy wait, which is undesirable for the

They are just that - diagnostics routines. Intended for debug output
only.

Robert> usual reasons. I notice also that the interrupt handler only
Robert> seems to cater for ctrl-c handling. The comms. stuff seems to
Robert> have been abstracted out through the CYGACC_COMM_xxx
Robert> interface, and there doesn't seem to be any catering for
Robert> handling all characters via ISR.

Robert> Is there a 'proper' way to put in blocking wait for all
Robert> characters via ISR on the serial input?

Yes, use the serial driver.

Jesper


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