If I understand what you are saying, even if it could be done with the chip there is no way you can get a usb interrupt. I would be amazingly glad to find out that I was wrong.
Bruce On 2/15/19, Paul E Ourada <[email protected]> wrote: > I have a question that I can't seem to find an answer for. I have been > working with an FTDI 4232H device in bitbang mode for the last 9 months or > so, among other things, on a Raspberry Pi data collection platform. Most of > it has been in conjunction with controlling an Exar SP339 transceiver, and a > FET to control power to the serial device. Pretty easy stuff. > > Now my employer wants to read the state of a momentary switch, but without > having to stand on the device polling it every few milliseconds. I saw that > the Rpi python GPIO library has a capability to get an event on the Rpi GPIO > lines. > > I know that these are different from the FTDI GPIO lines. But I was > wondering if anyone had implemented similar event driven functionality using > libftdi? Or alternatively, could point me in a direction to implement such > functionality myself? I'd be happy to contribute back to the project, if it > can be done. From looking at the device docs, I'm not sure it can. > > Thanks in advance, > > > Paul E Ourada > > Principal/Owner > > BluSkai Systems, LLC > > [email protected] > > (m) 303-396-2872 > > > > Paul E Ourada > > Principal/Owner > > BluSkai Systems, LLC > > [email protected] > > (m) 303-396-2872 > > > -- > libftdi - see http://www.intra2net.com/en/developer/libftdi for details. > To unsubscribe send a mail to [email protected] > > -- libftdi - see http://www.intra2net.com/en/developer/libftdi for details. To unsubscribe send a mail to [email protected]
