summaryrefslogtreecommitdiffstats
path: root/NOTES
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-10-31 06:34:26 +0100
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-10-31 06:34:26 +0100
commitcd35dd6d3f1343b8ec2590cf9bfc9a1bc41c4960 (patch)
treeeed4e7b17ff4b87466cdb4376c2409d49d07d2f1 /NOTES
parent85a5de8ad86120a33e00cbb5d66bcfca0388111f (diff)
downloadipecamera-cd35dd6d3f1343b8ec2590cf9bfc9a1bc41c4960.tar.gz
ipecamera-cd35dd6d3f1343b8ec2590cf9bfc9a1bc41c4960.tar.bz2
ipecamera-cd35dd6d3f1343b8ec2590cf9bfc9a1bc41c4960.tar.xz
ipecamera-cd35dd6d3f1343b8ec2590cf9bfc9a1bc41c4960.zip
Update scripts
Diffstat (limited to 'NOTES')
-rw-r--r--NOTES24
1 files changed, 24 insertions, 0 deletions
diff --git a/NOTES b/NOTES
index 27990d0..94e4e95 100644
--- a/NOTES
+++ b/NOTES
@@ -145,6 +145,30 @@ DMA Access Synchronization
user to check their consistency and restart DMA engine.]
IRQs are enabled and disabled at each call
+
+DMA Reads
+=========
+standard: default reading mode, reads a single full packet
+multipacket: reads all available packets
+waiting multipacket: reads all available packets, after finishing the
+ last one waiting if new data arrives
+exact read: read exactly specified number of bytes (should be
+ only supported if it is multiple of packets, otherwise
+ error should be returned)
+ignore packets: autoterminate each buffer, depends on engine
+ configuration
+autogrow: automatic memory allocation, only through streaming
+
+ first | new_pkt | bufer
+ --------------------------
+standard wait | term | wait
+multiple packets wait | check | wait - DMA_READ_FLAG_MULTIPACKET
+waiting multipacket wait | wait | wait - DMA_READ_FLAG_WAIT
+exact wait | wait/term | wait - limited by size parameter
+ignore packets wait | check | check - just autoterminated
+autogrow
+
+Shall we do a special handling in case of overflow?
Register Access Synchronization
===============================