[Ftdi-usb-sio-devel] Resetting the FTDI
Brought to you by:
bryder
|
From: Chris S. <chr...@ya...> - 2010-11-11 19:11:08
|
Hello,
How does my userland application issue an FTDI reset command? ftdi_sio.h hints that it is possible:
/* FTDI_SIO_RESET */
#define FTDI_SIO_RESET_REQUEST FTDI_SIO_RESET
#define FTDI_SIO_RESET_REQUEST_TYPE 0x40
#define FTDI_SIO_RESET_SIO 0
#define FTDI_SIO_RESET_PURGE_RX 1
#define FTDI_SIO_RESET_PURGE_TX 2
Perhaps a better question: Where would I look to find the answer to this myself? I assume the method involves ioctl() or sysfs, but I am not sure where in the source to find out the method. If you can just refer me to a source to learn about this sort of thing, I'd be happy to RTFM.
Thank you,
Chris
|