added some description to tusb_option.h

This commit is contained in:
IngHK 2024-03-31 09:33:20 +02:00
parent c1a17a7369
commit 8ded6d3d2e
1 changed files with 4 additions and 2 deletions

View File

@ -530,9 +530,11 @@
#endif
// MAX3421 Host max. transfer attemps per frame (except control and iso)
// temporary only one attemp (no retry) per frame allowed (more in work)
// retry quantity = (CFG_TUH_MAX3421_MAX_ATTEMPS_PER_FRAME - 1)
// 0 = endless retries in current frame. is default to keep compatibility
// 0 = endless retries. is default to keep compatibility
// => this may overload MCU with permanently repeating NAK interrupts
// => possible increased USB traffic, increased latencies, reduced data throughput
// a usual attemp quantity is 3 (reference: the book "USB Complete" by Jan Axelson)
#ifndef CFG_TUH_MAX3421_MAX_ATTEMPS_PER_FRAME
#define CFG_TUH_MAX3421_MAX_ATTEMPS_PER_FRAME 0
#endif