-
Notifications
You must be signed in to change notification settings - Fork 17
/
ftdi.h
19 lines (18 loc) · 828 Bytes
/
ftdi.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#define FTDI_VEN_REQ_RESET 0x00
#define FTDI_VEN_REQ_SET_BAUDRATE 0x01
#define FTDI_VEN_REQ_SET_DATA_CHAR 0x02
#define FTDI_VEN_REQ_SET_FLOW_CTRL 0x03
#define FTDI_VEN_REQ_SET_MODEM_CTRL 0x04
#define FTDI_VEN_REQ_GET_MODEM_STA 0x05
#define FTDI_VEN_REQ_SET_EVENT_CHAR 0x06
#define FTDI_VEN_REQ_SET_ERR_CHAR 0x07
#define FTDI_VEN_REQ_SET_LAT_TIMER 0x09
#define FTDI_VEN_REQ_GET_LAT_TIMER 0x0A
#define FTDI_VEN_REQ_SET_BITMODE 0x0B
#define FTDI_VEN_REQ_RD_PINS 0x0C
#define FTDI_VEN_REQ_RD_EEPROM 0x90
#define FTDI_VEN_REQ_WR_EEPROM 0x91
#define FTDI_VEN_REQ_ES_EEPROM 0x92
#define FTDI_MODEM_STA_SIZE 0x02
#define FTDI_MODEM_STA_DUMMY0 0x01
#define FTDI_MODEM_STA_DUMMY1 0x60