FreeCalypso > hg > fc-usbser-tools
annotate libftmini/ftdi_tune.h @ 35:f548ae912622
doc/FTDI-EEPROM-tools: update for 2023 sans-libftdi version
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 10 Sep 2023 00:18:20 +0000 |
parents | fce3d4baa2b4 |
children |
rev | line source |
---|---|
14
67ecb394b24f
libftmini: starting with EEPROM read
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /* |
67ecb394b24f
libftmini: starting with EEPROM read
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 * libftdi-0.20 passes ftdi->usb_read_timeout as the last argument to |
67ecb394b24f
libftmini: starting with EEPROM read
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 * usb_control_msg(); this setting is initialized to 5000 in ftdi_init() |
18
fce3d4baa2b4
libftmini: implement EEPROM write
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
4 * and never changed in practice. Ditto for ftdi->usb_write_timeout. |
fce3d4baa2b4
libftmini: implement EEPROM write
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
5 * Replicate these magic definitions. |
14
67ecb394b24f
libftmini: starting with EEPROM read
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 */ |
67ecb394b24f
libftmini: starting with EEPROM read
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
67ecb394b24f
libftmini: starting with EEPROM read
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 #define USB_READ_TIMEOUT 5000 |
18
fce3d4baa2b4
libftmini: implement EEPROM write
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
9 #define USB_WRITE_TIMEOUT 5000 |