All of lore.kernel.org
 help / color / mirror / Atom feed
* Digital I/O in IIO
@ 2017-04-06 14:24 George McCollister
  2017-04-07  6:21 ` Matt Ranostay
  0 siblings, 1 reply; 4+ messages in thread
From: George McCollister @ 2017-04-06 14:24 UTC (permalink / raw)
  To: open list:IIO SUBSYSTEM AND...; +Cc: Jonathan Cameron

In many industrial applications it's common to mix digital (binary)
and analog I/O. In many cases digital input modules have change
buffers and sometimes event time stamping capabilities. While the gpio
subsystem can support software timestamping and buffering it doesn't
fit well for many industrial digital applications where the host
process reads buffered digital samples or events from input modules.

Would anyone appose or support the addition of digital channel type or
suggest an alternative path to supporting this use case?

A possible alternative is to use 1 bit for storage and use voltage for
type. For instance a 16 channel 24V DC Input module would present 16
input voltage channels with 1 bit of storage each. 0 would correspond
to 0VDC and 1 to 24VDC.

Cheers,
George McCollister
Software Architect
NovaTech LLC

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-04-09 10:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-06 14:24 Digital I/O in IIO George McCollister
2017-04-07  6:21 ` Matt Ranostay
2017-04-08 15:49   ` Jonathan Cameron
2017-04-09 10:20     ` Lars-Peter Clausen

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.