Linux Kernel
3.7.1
|
Go to the source code of this file.
Enumerations | |
enum | ftdi_chip_type { SIO = 1, FT8U232AM = 2, FT232BM = 3, FT2232C = 4, FT232RL = 5, FT2232H = 6, FT4232H = 7, FT232H = 8, FTX = 9 } |
enum | ftdi_sio_baudrate { ftdi_sio_b300 = 0, ftdi_sio_b600 = 1, ftdi_sio_b1200 = 2, ftdi_sio_b2400 = 3, ftdi_sio_b4800 = 4, ftdi_sio_b9600 = 5, ftdi_sio_b19200 = 6, ftdi_sio_b38400 = 7, ftdi_sio_b57600 = 8, ftdi_sio_b115200 = 9 } |
#define FTDI_RS0_CTS (1 << 4) |
Definition at line 534 of file ftdi_sio.h.
#define FTDI_RS0_DSR (1 << 5) |
Definition at line 535 of file ftdi_sio.h.
#define FTDI_RS0_RI (1 << 6) |
Definition at line 536 of file ftdi_sio.h.
#define FTDI_RS0_RLSD (1 << 7) |
Definition at line 537 of file ftdi_sio.h.
#define FTDI_RS_BI (1<<4) |
Definition at line 543 of file ftdi_sio.h.
#define FTDI_RS_DR 1 |
Definition at line 539 of file ftdi_sio.h.
#define FTDI_RS_FE (1<<3) |
Definition at line 542 of file ftdi_sio.h.
#define FTDI_RS_FIFO (1<<7) |
Definition at line 546 of file ftdi_sio.h.
#define FTDI_RS_OE (1<<1) |
Definition at line 540 of file ftdi_sio.h.
#define FTDI_RS_PE (1<<2) |
Definition at line 541 of file ftdi_sio.h.
#define FTDI_RS_TEMT (1<<6) |
Definition at line 545 of file ftdi_sio.h.
#define FTDI_RS_THRE (1<<5) |
Definition at line 544 of file ftdi_sio.h.
#define FTDI_SIO_CTS_MASK 0x10 |
Definition at line 405 of file ftdi_sio.h.
#define FTDI_SIO_DISABLE_FLOW_CTRL 0x0 |
Definition at line 267 of file ftdi_sio.h.
#define FTDI_SIO_DSR_MASK 0x20 |
Definition at line 406 of file ftdi_sio.h.
#define FTDI_SIO_DTR_DSR_HS (0x2 << 8) |
Definition at line 269 of file ftdi_sio.h.
Definition at line 35 of file ftdi_sio.h.
#define FTDI_SIO_GET_LATENCY_TIMER_REQUEST FTDI_SIO_GET_LATENCY_TIMER |
Definition at line 306 of file ftdi_sio.h.
#define FTDI_SIO_GET_LATENCY_TIMER_REQUEST_TYPE 0xC0 |
Definition at line 307 of file ftdi_sio.h.
#define FTDI_SIO_GET_MODEM_STATUS |
Definition at line 31 of file ftdi_sio.h.
#define FTDI_SIO_GET_MODEM_STATUS_REQUEST FTDI_SIO_GET_MODEM_STATUS |
Definition at line 404 of file ftdi_sio.h.
#define FTDI_SIO_GET_MODEM_STATUS_REQUEST_TYPE 0xc0 |
Definition at line 403 of file ftdi_sio.h.
Definition at line 27 of file ftdi_sio.h.
Definition at line 26 of file ftdi_sio.h.
#define FTDI_SIO_RESET_PURGE_RX 1 |
Definition at line 65 of file ftdi_sio.h.
#define FTDI_SIO_RESET_PURGE_TX 2 |
Definition at line 66 of file ftdi_sio.h.
#define FTDI_SIO_RESET_REQUEST FTDI_SIO_RESET |
Definition at line 62 of file ftdi_sio.h.
#define FTDI_SIO_RESET_REQUEST_TYPE 0x40 |
Definition at line 63 of file ftdi_sio.h.
#define FTDI_SIO_RESET_SIO 0 |
Definition at line 64 of file ftdi_sio.h.
#define FTDI_SIO_RI_MASK 0x40 |
Definition at line 407 of file ftdi_sio.h.
#define FTDI_SIO_RLSD_MASK 0x80 |
Definition at line 408 of file ftdi_sio.h.
#define FTDI_SIO_RTS_CTS_HS (0x1 << 8) |
Definition at line 268 of file ftdi_sio.h.
Definition at line 29 of file ftdi_sio.h.
#define FTDI_SIO_SET_BAUDRATE_REQUEST 3 |
Definition at line 96 of file ftdi_sio.h.
#define FTDI_SIO_SET_BAUDRATE_REQUEST_TYPE 0x40 |
Definition at line 95 of file ftdi_sio.h.
#define FTDI_SIO_SET_BREAK (0x1 << 14) |
Definition at line 189 of file ftdi_sio.h.
#define FTDI_SIO_SET_DATA |
Definition at line 30 of file ftdi_sio.h.
#define FTDI_SIO_SET_DATA_PARITY_EVEN (0x2 << 8) |
Definition at line 183 of file ftdi_sio.h.
#define FTDI_SIO_SET_DATA_PARITY_MARK (0x3 << 8) |
Definition at line 184 of file ftdi_sio.h.
#define FTDI_SIO_SET_DATA_PARITY_NONE (0x0 << 8) |
Definition at line 181 of file ftdi_sio.h.
#define FTDI_SIO_SET_DATA_PARITY_ODD (0x1 << 8) |
Definition at line 182 of file ftdi_sio.h.
#define FTDI_SIO_SET_DATA_PARITY_SPACE (0x4 << 8) |
Definition at line 185 of file ftdi_sio.h.
#define FTDI_SIO_SET_DATA_REQUEST FTDI_SIO_SET_DATA |
Definition at line 179 of file ftdi_sio.h.
#define FTDI_SIO_SET_DATA_REQUEST_TYPE 0x40 |
Definition at line 180 of file ftdi_sio.h.
#define FTDI_SIO_SET_DATA_STOP_BITS_1 (0x0 << 11) |
Definition at line 186 of file ftdi_sio.h.
#define FTDI_SIO_SET_DATA_STOP_BITS_15 (0x1 << 11) |
Definition at line 187 of file ftdi_sio.h.
#define FTDI_SIO_SET_DATA_STOP_BITS_2 (0x2 << 11) |
Definition at line 188 of file ftdi_sio.h.
#define FTDI_SIO_SET_DTR_HIGH (1 | (FTDI_SIO_SET_DTR_MASK << 8)) |
Definition at line 240 of file ftdi_sio.h.
#define FTDI_SIO_SET_DTR_LOW (0 | (FTDI_SIO_SET_DTR_MASK << 8)) |
Definition at line 241 of file ftdi_sio.h.
#define FTDI_SIO_SET_DTR_MASK 0x1 |
Definition at line 239 of file ftdi_sio.h.
Definition at line 33 of file ftdi_sio.h.
Definition at line 32 of file ftdi_sio.h.
#define FTDI_SIO_SET_EVENT_CHAR_REQUEST FTDI_SIO_SET_EVENT_CHAR |
Definition at line 355 of file ftdi_sio.h.
#define FTDI_SIO_SET_EVENT_CHAR_REQUEST_TYPE 0x40 |
Definition at line 356 of file ftdi_sio.h.
#define FTDI_SIO_SET_FLOW_CTRL 2 /* Set flow control register */ |
Definition at line 28 of file ftdi_sio.h.
#define FTDI_SIO_SET_FLOW_CTRL_REQUEST FTDI_SIO_SET_FLOW_CTRL |
Definition at line 266 of file ftdi_sio.h.
#define FTDI_SIO_SET_FLOW_CTRL_REQUEST_TYPE 0x40 |
Definition at line 265 of file ftdi_sio.h.
Definition at line 34 of file ftdi_sio.h.
#define FTDI_SIO_SET_LATENCY_TIMER_REQUEST FTDI_SIO_SET_LATENCY_TIMER |
Definition at line 328 of file ftdi_sio.h.
#define FTDI_SIO_SET_LATENCY_TIMER_REQUEST_TYPE 0x40 |
Definition at line 329 of file ftdi_sio.h.
#define FTDI_SIO_SET_MODEM_CTRL_REQUEST FTDI_SIO_MODEM_CTRL |
Definition at line 224 of file ftdi_sio.h.
#define FTDI_SIO_SET_MODEM_CTRL_REQUEST_TYPE 0x40 |
Definition at line 223 of file ftdi_sio.h.
#define FTDI_SIO_SET_RTS_HIGH (2 | (FTDI_SIO_SET_RTS_MASK << 8)) |
Definition at line 243 of file ftdi_sio.h.
#define FTDI_SIO_SET_RTS_LOW (0 | (FTDI_SIO_SET_RTS_MASK << 8)) |
Definition at line 244 of file ftdi_sio.h.
#define FTDI_SIO_SET_RTS_MASK 0x2 |
Definition at line 242 of file ftdi_sio.h.
#define FTDI_SIO_XON_XOFF_HS (0x4 << 8) |
Definition at line 270 of file ftdi_sio.h.
#define INTERFACE_A 1 |
Definition at line 38 of file ftdi_sio.h.
#define INTERFACE_B 2 |
Definition at line 39 of file ftdi_sio.h.
#define INTERFACE_C 3 |
Definition at line 40 of file ftdi_sio.h.
#define INTERFACE_D 4 |
Definition at line 41 of file ftdi_sio.h.
#define PIT_DEFAULT 0 /* SIOA */ |
Definition at line 55 of file ftdi_sio.h.
#define PIT_PARALLEL 3 /* Parallel */ |
Definition at line 59 of file ftdi_sio.h.
#define PIT_SIOA 1 /* SIOA */ |
Definition at line 56 of file ftdi_sio.h.
#define PIT_SIOB 2 /* SIOB */ |
Definition at line 58 of file ftdi_sio.h.
enum ftdi_chip_type |
Definition at line 150 of file ftdi_sio.h.
enum ftdi_sio_baudrate |
ftdi_sio_b300 | |
ftdi_sio_b600 | |
ftdi_sio_b1200 | |
ftdi_sio_b2400 | |
ftdi_sio_b4800 | |
ftdi_sio_b9600 | |
ftdi_sio_b19200 | |
ftdi_sio_b38400 | |
ftdi_sio_b57600 | |
ftdi_sio_b115200 |
Definition at line 162 of file ftdi_sio.h.