9537ab6cc8
Recent FDTI chips have the ability to operate at up to 12mbps. The newer chips with faster clocks have the same usb vendor/product IDs as the older chips; the bcdDevice field must be used to detect the newer versions. This change includes a new function to do that instead of using just the IDs from the vendor/product table. The code to choose the baud clock divisor is completely rewritten. In addition to supporting the new higher clock rates, the rewrite fixes a longstanding bug in the old code which put the high bits of the fractional part of the divisor into the wrong place in the wIndex field. That bug was mostly harmless -- it accidentally didn't affect standard baud rates and would only show up when using relatively fast non-standard rates. |
||
---|---|---|
.. | ||
u3g.c | ||
uark.c | ||
ubsa.c | ||
ubser.c | ||
uchcom.c | ||
ucycom.c | ||
ufoma.c | ||
uftdi_reg.h | ||
uftdi.c | ||
ugensa.c | ||
uipaq.c | ||
ulpt.c | ||
umcs.c | ||
umcs.h | ||
umct.c | ||
umodem.c | ||
umoscom.c | ||
uplcom.c | ||
usb_serial.c | ||
usb_serial.h | ||
uslcom.c | ||
uvisor.c | ||
uvscom.c |