summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIngHK <[email protected]>2024-03-31 09:33:20 +0200
committerIngHK <[email protected]>2024-03-31 10:27:15 +0200
commit8ded6d3d2eeb57dbffe1db9cdacaf3ae7c0159a7 (patch)
tree0aa4277afd24bbbd5947c3636a0921f9a135e12c /src
parentc1a17a7369e326fad83b28d2abdef35d61d1f1ab (diff)
added some description to tusb_option.h
Diffstat (limited to 'src')
-rw-r--r--src/tusb_option.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tusb_option.h b/src/tusb_option.h
index 68eb4882c..64915cf62 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -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