Re: Edge Triggered Digital Inputs

On 14/04/2005 17:59, Daryl Warkentin wrote:
> I am using an Advantech PCI-1753 Digital IO board and am having some
> trouble figuring out if COMEDI supports the ability to configure digital
> inputs as edge triggered ports (i.e. an interrupt is generated when the
> digital input changes state). I have found the comedi_dio_config command
> but it only sets ports to inputs or outputs. Is there a hidden option
> for edge, or is there another method for configuring this type of
> behaviour?

You'd have to use comedi_command() (and comedi_command_test()) for that, 
  but the bad news is that the adv_pci_dio driver does not currently 
support the comedi command interface.

Received on 2005-04-15Z08:14:17