From: Anders Blomdell <anders.blomdell@domain.hid>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] too fast write to serialport?
Date: Sat, 15 Sep 2007 13:46:04 +0200 [thread overview]
Message-ID: <46EBC5FC.5020807@domain.hid> (raw)
In-Reply-To: <46EAC591.4050602@domain.hid>
Jan Kiszka wrote:
>> Do you mean that the serial driver (you wrote) has currently no
>> way to know if written bytes have been sent on the wire by the UART ?
>
> That is true. The asynchronous transmitting of data was intentionally
> installed, but I didn't consider to establish some interface to request
> and/or synchronise on the output completion. Will think about this when
> time permits.
One way would be to implement ioctl for setting TxBufffer size, then
with proper coding, TxBufSize = 0 would (analogous to 0 size FIFO) imply
rendezvous semantics.
Just my 5 cents
Regards
Anders Blomdell
next prev parent reply other threads:[~2007-09-15 11:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-13 9:45 [Xenomai-help] too fast write to serialport? Bachman Kharazmi
2007-09-13 11:34 ` Eric Noulard
2007-09-13 14:06 ` Bachman Kharazmi
2007-09-13 14:16 ` Eric Noulard
2007-09-14 7:03 ` Jan Kiszka
2007-09-14 8:12 ` Eric Noulard
2007-09-14 17:32 ` Jan Kiszka
2007-09-15 11:46 ` Anders Blomdell [this message]
2007-09-15 14:00 ` Eric Noulard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46EBC5FC.5020807@domain.hid \
--to=anders.blomdell@domain.hid \
--cc=jan.kiszka@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.