Torsten Dreyer wrote:
> Well - it's not really a serial driver, the interface connects thru
> the handshake lines rts/cts and dtr with rxd and txd left
> unconnected since the LTC1090 speaks a synchronous protocol.

Oh, heh.  Well, if the hardware is non-standard, then one hack is as
good as another.  Never mind what I said, this is actually pretty
elegant.  Short of putting a microcontroller on your board, I have no
suggestions. :)

As far as doing control line stuff from userspace, though, this is
possible under Linux (and maybe elsewhere -- I'm not sure how portable
these APIs are) using the TIOCMGET/TIOCMSET ioctl's with the TIOCM_RTS
and TIOCM_DTR flags.  Since you are using them for synchronous I/O,
though, you will have to poll them to watch for changes on the clock
line.  Obvoiusly polling hardware from userspace is a recipe for
disaster.

And a suggestion for your site: could you list sources and part
numbers and sources for the components?  The sliders in particular
(with colored knobs, even) look really useful for throttles, and I
haven't seen that kind of thing before.

Andy


_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to