libftdi Archives
|
From: | "Nick (Guo-Ying) Teo" <gt224@xxxxxxxxxxx> |
---|---|
To: | libftdi@xxxxxxxxxxxxxxxxxxxxxxx |
Date: | Fri, 20 Sep 2013 12:05:42 -0400 |
Hi, I'm working a project using the FT2232H and I'm having a little trouble understanding a few things. I can't seem to find an example using the wait on I/O commands (0x88, 0x89, 0x94,0x95). Does anyone have an example of these commands they are willing to share?
The plan is to have the chip receive the wait command and wait for an interrupt signal from a touch screen after which the chip would read the touch screen coordinate registers and send back the information to the computer. Would I then flush the buffer to the computer (the send immediate command)? I'm not understanding how the program would know when the chip receives the interrupt signal so that it can call the read data command.
My other question deals with libmpsse. There's no libmpsse mailing list so I thought this would be the best place to ask. I've been wondering why bitbang mode does not support access to the top byte (the cbus). It can only access the dbus. Looking at the code it uses ftdi_write_data(). Is there a limitation on that function that it cannot write to the high byte?
Thanks, Nick
libftdi - see http://www.intra2net.com/en/developer/libftdi for details. |
Current Thread |
---|
|